Skip to content

Commit

Permalink
Fix undocumented use of Energy struct
Browse files Browse the repository at this point in the history
  • Loading branch information
arendst committed Nov 24, 2023
1 parent 2cee622 commit 01e51b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasmota/tasmota_xdrv_driver/xdrv_03_esp32_energy.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 01e51b2

Please sign in to comment.