Merge pull request #579 from mkbel/fix_menu_edit

Fix wraparound from lowest value to highest value in menu value edit.
This commit is contained in:
mkbel 2018-03-27 11:08:27 +02:00 committed by GitHub
commit f81f749d17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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