mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +00:00
fix i2c tools menu bug
This commit is contained in:
parent
0dff574757
commit
4e66d37ac8
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ int32_t i2ctools_app(void* p) {
|
||||||
}
|
}
|
||||||
} else if(event.key == InputKeyDown && event.type == InputTypeRelease) {
|
} else if(event.key == InputKeyDown && event.type == InputTypeRelease) {
|
||||||
if(i2ctools->main_view->current_view == MAIN_VIEW) {
|
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++;
|
i2ctools->main_view->menu_index++;
|
||||||
}
|
}
|
||||||
} else if(i2ctools->main_view->current_view == SCAN_VIEW) {
|
} else if(i2ctools->main_view->current_view == SCAN_VIEW) {
|
||||||
|
|
Loading…
Reference in a new issue