From f04c0f8e17356908585b6d58d8c629946d6669bd Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 18 Aug 2020 09:02:27 +0200 Subject: [PATCH] Fixed compilation bug --- tasmota/xnrg_15_teleinfo.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasmota/xnrg_15_teleinfo.ino b/tasmota/xnrg_15_teleinfo.ino index 6fb9d06ca..6158ed12b 100755 --- a/tasmota/xnrg_15_teleinfo.ino +++ b/tasmota/xnrg_15_teleinfo.ino @@ -187,7 +187,6 @@ void DataCallback(struct _ValueList * me, uint8_t flags) if (flags & TINFO_FLAGS_ADDED) { c = '#'; } if (flags & TINFO_FLAGS_UPDATED) { c = '*'; } - if (flags & TINFO_FLAGS_STRING) { c = '$'; } AddLog_P2(LOG_LEVEL_DEBUG, PSTR("TIC: [%d]%c %s=%s"), ilabel, c , me->name, me->value); if (ilabelname ); - if (!isNumber || (me->flags & TINFO_FLAGS_STRING) ) { + if (!isNumber) { ResponseAppend_P( PSTR("\"%s\""), me->value ); } else { ResponseAppend_P( PSTR("%d"), atoi(me->value));