fredlcore / BSB-LAN

LAN/WiFi interface for Boiler-System-Bus (BSB) and Local Process Bus (LPB) and Punkt-zu-Punkt Schnittstelle (PPS) with a Siemens® controller used by Elco®, Brötje® and similar heating systems
220 stars 83 forks source link

'esp32_save_energy' was not declared in this scope [BUG] #562

Closed djatwork closed 1 year ago

djatwork commented 1 year ago

BSB-LAN Version Master

Architecture Arduino IDE 2.0.4

Bus system Olimes ESP32 PoE ISO

Describe the bug Compile Error

To Reproduce Compile

Logs `In file included from C:_Projekte\PIN\BSB LAN\BSB-LAN-master\BSB_LAN\BSB_LAN.ino:876: C:_Projekte\PIN\BSB LAN\BSB-LAN-master\BSB_LAN\BSB_LAN_EEPROMconfig.h:177:122: error: 'esp32_save_energy' was not declared in this scope {CF_ESP32_ENERGY_SAVE,11,CCAT_GENERAL, CPI_SWITCH, CDT_BYTE, OPT_FL_ADVANCED, CF_ENERGY_SAVE_TXT, sizeof(esp32_save_energy)}, //need reboot ^~~~~ C:_Projekte\PIN\BSB LAN\BSB-LAN-master\BSB_LAN\BSB_LAN.ino: In function 'void loop()': C:_Projekte\PIN\BSB LAN\BSB-LAN-master\BSB_LAN\BSB_LAN.ino:6289:15: error: 'esp32_save_energy' was not declared in this scope if (esp32_save_energy == true) { ^~~~~ C:_Projekte\PIN\BSB LAN\BSB-LAN-master\BSB_LAN\BSB_LAN.ino:6463:15: error: 'esp32_save_energy' was not declared in this scope if (esp32_save_energy == true) { ^~~~~ C:_Projekte\PIN\BSB LAN\BSB-LAN-master\BSB_LAN\BSB_LAN.ino: In function 'void setup()': C:_Projekte\PIN\BSB LAN\BSB-LAN-master\BSB_LAN\BSB_LAN.ino:7516:57: error: 'esp32_save_energy' was not declared in this scope registerConfigVariable(CF_ESP32_ENERGY_SAVE, (byte *)&esp32_save_energy); ^~~~~

exit status 1

Compilation error: 'esp32_save_energy' was not declared in this scope`