mirror of https://github.com/arendst/Tasmota.git
Add energy driver info during init
This commit is contained in:
parent
77cfe80064
commit
bc8cc520a2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue