uint8_tcurrentMenuViewOffset;/* scroll offset in the current menu */
uint8_tcurrentMenuViewOffset;/* scroll offset in the current menu */
millis_tnext_button_update_ms;
millis_tnext_button_update_ms;
uint8_tlastEncoderBits;
uint8_tlastEncoderBits;
uint32_tencoderPosition;
uint32_tencoderPosition,prevEncoderPosition;
#if PIN_EXISTS(SD_DETECT)
#if PIN_EXISTS(SD_DETECT)
uint8_tlcd_sd_status;
uint8_tlcd_sd_status;
#endif
#endif
@ -281,14 +281,12 @@ bool ignore_click = false;
boolwait_for_unclick;
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) */
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.
// Variables used when editing values.
menuFunc_tprevMenu=NULL;
uint16_tprevEncoderPosition;
//Variables used when editing values.
constchar*editLabel;
constchar*editLabel;
void*editValue;
void*editValue;
int32_tminEditValue,maxEditValue;
int32_tminEditValue,maxEditValue;
menuFunc_tcallbackFunc;
menuFunc_tprevMenu=NULL;// return here after editing (also prevEncoderPosition)