mirror of https://github.com/arendst/Tasmota.git
Re-enable log statements per suggestion
This commit is contained in:
parent
cf19dad985
commit
18a5d94a8f
|
@ -125,7 +125,7 @@ static void _debug_fval(const char *str, float fval, uint8_t prec = 4 )
|
||||||
{
|
{
|
||||||
char fstr[32];
|
char fstr[32];
|
||||||
dtostrfd(fval, prec, fstr);
|
dtostrfd(fval, prec, fstr);
|
||||||
//AddLog_P2( LOG_LEVEL_NONE, PSTR("%s: %s"), str, fstr );
|
AddLog_P2( LOG_LEVEL_NONE, PSTR("%s: %s"), str, fstr );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ void Ina226Init()
|
||||||
|
|
||||||
if (!I2cWrite16( addr, INA226_REG_CONFIG, INA226_CONFIG_RESET)){
|
if (!I2cWrite16( addr, INA226_REG_CONFIG, INA226_CONFIG_RESET)){
|
||||||
|
|
||||||
//AddLog_P2( LOG_LEVEL_DEBUG, "No INA226 at address: %02X", addr);
|
AddLog_P2( LOG_LEVEL_DEBUG, "No INA226 at address: %02X", addr);
|
||||||
continue; // No device
|
continue; // No device
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue