Refactoring: trying to find a more suitable variable name to check status if swap buttons in menu is enabled

This commit is contained in:
Ivan Zorin
2025-02-17 19:13:48 +03:00
parent 432b583d89
commit 035f3dd205
4 changed files with 26 additions and 26 deletions

View File

@@ -17,7 +17,7 @@ bool shouldShutdown(void) {
}
}
}
#ifdef REVERSE_NAV_EVERYWHERE
#ifdef OPT_FULL_BUTTON_REVERSE
if (getButtonState(getSettingValue(SettingsOptions::ReverseButtonMenu) == BUTTON_B_LONG) { // allow also if back button is pressed long
#else
if (getButtonState() == BUTTON_B_LONG) { // allow also if back button is pressed long