From 53bcfd5ef87ea9228600cf5076772dea6efd8dbc Mon Sep 17 00:00:00 2001 From: TheChatty Date: Sat, 14 Nov 2020 00:35:21 +0100 Subject: [PATCH] SML: Clean code for NO_OP meter Removing description for NO_OP meter saves about 80 bytes. --- tasmota/xsns_53_sml.ino | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasmota/xsns_53_sml.ino b/tasmota/xsns_53_sml.ino index 40e206a4e..5356efb04 100755 --- a/tasmota/xsns_53_sml.ino +++ b/tasmota/xsns_53_sml.ino @@ -117,10 +117,8 @@ struct METER_DESC { #if METER==SML_NO_OP #undef METERS_USED #define METERS_USED 0 -struct METER_DESC const meter_desc[1]={ - [0]={3,'o',0,SML_BAUDRATE,"OBIS",-1,1,0}}; -const uint8_t meter[]= -"1,1-0:1.8.0*255(@1," D_TPWRIN ",kWh," DJ_TPWRIN ",4|"; +struct METER_DESC const meter_desc[]={}; +const uint8_t meter[]=""; #endif