Fix wraparound from lowest value to highest value in menu value edit.

This commit is contained in:
Marek Bel 2018-03-26 20:25:23 +02:00
parent 903dce9716
commit 57bbb0e17d

View file

@ -335,7 +335,7 @@ volatile uint8_t slow_buttons;//Contains the bits of the currently pressed butto
#endif
uint8_t currentMenuViewOffset; /* scroll offset in the current menu */
uint8_t lastEncoderBits;
uint16_t encoderPosition;
uint32_t encoderPosition;
#if (SDCARDDETECT > 0)
bool lcd_oldcardstatus;
#endif
@ -7987,4 +7987,4 @@ void copy_and_scalePID_d()
}
*/
#endif //ULTRA_LCD
#endif //ULTRA_LCD