lincomatic / open_evse

Firmware for Open EVSE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`ECF_AUTO_SVC_LEVEL_DISABLED` not set when `AUTOSVCLEVEL` is not defined

jeremypoulter opened this issue · comments

When AUTOSVCLEVEL is disabled (as it is in the EU versions of the firmware) the ECF_AUTO_SVC_LEVEL_DISABLED flag is not set so the WiFi controller thinks the controller is in auto mode, no matter what is sent via $SL.

I had assumed that builds w/ AUTOSVCLEVEL disabled wouldn't need to test the flag, since it's not an option to enable it.
You could just disable the flag with a build that has AUTOSVCLEVEL enabled, save the EEPROM, and burn that saved file into units that need the flag set.
Anyway, it was just a 1-line change.
d9ec7fe

Thanks, there is not a separate build of the WiFi firmware for US/EU so it has no knowledge of the features enabled in the firmware.