Fix undocumented use of Energy struct

This commit is contained in:
Theo Arends 2023-11-24 16:49:51 +01:00
parent 2cee622af8
commit 01e51b2c9d
1 changed files with 2 additions and 2 deletions

View File

@ -1401,8 +1401,8 @@ void EnergyDrvInit(void) {
EnergySettingsLoad(0);
EnergyRtcSettingsLoad();
AddLog(LOG_LEVEL_INFO, PSTR("NRG: Init driver %d"), TasmotaGlobal.energy_driver);
} else {
free(Energy); // No energy driver found so release memory
// } else {
// free(Energy); // No energy driver found so release memory
}
}