Skip to content

Commit 84feaf6

Browse files
mstegendingo35
authored andcommitted
Reapply Show Sensorbox 2 Wifi menu only on software v2.0.x
1 parent 057e7aa commit 84feaf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SmartEVSE-3/src/glcd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ uint8_t getMenuItems (void) {
10941094
MenuItems[m++] = MENU_MAINSMETER; // - - Type of Mains electric meter (0: Disabled / Constants EM_*)
10951095
if (MainsMeter.Type == EM_SENSORBOX) { // - - ? Sensorbox?
10961096
if (GridActive == 1) MenuItems[m++] = MENU_GRID;
1097-
if (SB2.SoftwareVer >= 0x01) {
1097+
if (SB2.SoftwareVer == 0x01) {
10981098
MenuItems[m++] = MENU_SB2_WIFI; // Sensorbox-2 Wifi 0:Disabled / 1:Enabled / 2:Portal
10991099
}
11001100
} else if (MainsMeter.Type && MainsMeter.Type != EM_API) { // - - ? Other?

0 commit comments

Comments
 (0)