fix(bw128): pre start pot warning navigation (#7422)

This commit is contained in:
3djc
2026-06-05 16:21:05 +10:00
committed by GitHub
parent ea0d8e0f7e
commit e528ca5318
+2 -2
View File
@@ -1254,8 +1254,8 @@ void menuModelSetup(event_t event)
case ITEM_MODEL_SETUP_SWITCHES_WARNING1:
{
uint8_t switchWarningsCount = getSwitchWarningsCount();
// Fix for case when there is only one switch that can trigger a warning (MT12)
if (switchWarningsCount == 1 && menuHorizontalPosition >= 1)
// Fix for case when there is only one switch that can trigger a warning (MT12).
if (attr && switchWarningsCount == 1 && menuHorizontalPosition >= 1)
menuHorizontalPosition = 0;
horzpos_t l_posHorz = menuHorizontalPosition;