Add energy driver info during init

This commit is contained in:
Theo Arends 2022-10-06 23:27:43 +02:00
parent 77cfe80064
commit bc8cc520a2
1 changed files with 3 additions and 0 deletions

View File

@ -1053,6 +1053,9 @@ void EnergyDrvInit(void) {
TasmotaGlobal.energy_driver = ENERGY_NONE;
XnrgCall(FUNC_PRE_INIT); // Find first energy driver
if (TasmotaGlobal.energy_driver) {
AddLog(LOG_LEVEL_INFO, PSTR("NRG: Init driver %d"), TasmotaGlobal.energy_driver);
}
}
void EnergySnsInit(void)