uint8_tcurrentMenuViewOffset;/* scroll offset in the current menu */
millis_tnext_button_update_ms;
uint8_tlastEncoderBits;
uint32_tencoderPosition;
uint32_tencoderPosition, prevEncoderPosition;
#if PIN_EXISTS(SD_DETECT)
uint8_tlcd_sd_status;
#endif
@ -281,14 +281,12 @@ bool ignore_click = false;
boolwait_for_unclick;
uint8_tlcdDrawUpdate=2;/* Set to none-zero when the LCD needs to draw, decreased after every draw. Set to 2 in LCD routines so the LCD gets at least 1 full redraw (first redraw is partial) */
//prevMenu and prevEncoderPosition are used to store the previous menu location when editing settings.
menuFunc_tprevMenu=NULL;
uint16_tprevEncoderPosition;
//Variables used when editing values.
// Variables used when editing values.
constchar*editLabel;
void*editValue;
int32_tminEditValue,maxEditValue;
menuFunc_tcallbackFunc;
menuFunc_tprevMenu=NULL;// return here after editing (also prevEncoderPosition)