mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
fix i2c tools menu bug
This commit is contained in:
@@ -105,7 +105,7 @@ int32_t i2ctools_app(void* p) {
|
||||
}
|
||||
} else if(event.key == InputKeyDown && event.type == InputTypeRelease) {
|
||||
if(i2ctools->main_view->current_view == MAIN_VIEW) {
|
||||
if(i2ctools->main_view->menu_index < MENU_SIZE) {
|
||||
if(i2ctools->main_view->menu_index < 3) {
|
||||
i2ctools->main_view->menu_index++;
|
||||
}
|
||||
} else if(i2ctools->main_view->current_view == SCAN_VIEW) {
|
||||
|
||||
Reference in New Issue
Block a user