From 18a5d94a8f219f7e3b70b6ae81508756ca09e554 Mon Sep 17 00:00:00 2001 From: srodgers Date: Sun, 10 Nov 2019 16:07:03 -0800 Subject: [PATCH] Re-enable log statements per suggestion --- tasmota/xsns_54_ina226.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xsns_54_ina226.ino b/tasmota/xsns_54_ina226.ino index 93c1a0d21..6709c6e53 100644 --- a/tasmota/xsns_54_ina226.ino +++ b/tasmota/xsns_54_ina226.ino @@ -125,7 +125,7 @@ static void _debug_fval(const char *str, float fval, uint8_t prec = 4 ) { char fstr[32]; 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)){ - //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 }