Skip to content

Commit

Permalink
Merge pull request SuperHouse#4 from AlexanderS/fix/display
Browse files Browse the repository at this point in the history
Fix button logic
  • Loading branch information
jonoxer authored Dec 21, 2021
2 parents 3823418 + 4192f51 commit 32cc8fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Firmware/AirQualitySensorD1Mini/AirQualitySensorD1Mini.ino
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,8 @@ void checkModeButton()
if (g_display_state >= NUM_OF_STATES)
{
g_display_state = 1;
return;
} else {
g_display_state++;
return;
}
}

Expand Down

0 comments on commit 32cc8fd

Please sign in to comment.