Skip to content

Commit

Permalink
Reapply Show Sensorbox 2 Wifi menu only on software v2.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mstegen authored and dingo35 committed Nov 4, 2024
1 parent 057e7aa commit 84feaf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmartEVSE-3/src/glcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ uint8_t getMenuItems (void) {
MenuItems[m++] = MENU_MAINSMETER; // - - Type of Mains electric meter (0: Disabled / Constants EM_*)
if (MainsMeter.Type == EM_SENSORBOX) { // - - ? Sensorbox?
if (GridActive == 1) MenuItems[m++] = MENU_GRID;
if (SB2.SoftwareVer >= 0x01) {
if (SB2.SoftwareVer == 0x01) {
MenuItems[m++] = MENU_SB2_WIFI; // Sensorbox-2 Wifi 0:Disabled / 1:Enabled / 2:Portal
}
} else if (MainsMeter.Type && MainsMeter.Type != EM_API) { // - - ? Other?
Expand Down

0 comments on commit 84feaf6

Please sign in to comment.