mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 19:56:30 +00:00
Merge pull request #9845 from TheChatty/patch-1
SML: Clean code for NO_OP meter
This commit is contained in:
commit
81dc60bf50
@ -117,10 +117,8 @@ struct METER_DESC {
|
|||||||
#if METER==SML_NO_OP
|
#if METER==SML_NO_OP
|
||||||
#undef METERS_USED
|
#undef METERS_USED
|
||||||
#define METERS_USED 0
|
#define METERS_USED 0
|
||||||
struct METER_DESC const meter_desc[1]={
|
struct METER_DESC const meter_desc[]={};
|
||||||
[0]={3,'o',0,SML_BAUDRATE,"OBIS",-1,1,0}};
|
const uint8_t meter[]="";
|
||||||
const uint8_t meter[]=
|
|
||||||
"1,1-0:1.8.0*255(@1," D_TPWRIN ",kWh," DJ_TPWRIN ",4|";
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user