mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 19:26:37 +00:00
fix =d mode
This commit is contained in:
parent
650e882083
commit
f6b527d189
@ -456,7 +456,7 @@ const uint8_t meter[]=
|
|||||||
//0x77,0x07,0x01,0x00,0x01,0x08,0x01,0xff
|
//0x77,0x07,0x01,0x00,0x01,0x08,0x01,0xff
|
||||||
"1,77070101010801ff@1000," D_TPWRIN1 ",kWh," DJ_TPWRIN1 ",2|" // Verbrauch T1
|
"1,77070101010801ff@1000," D_TPWRIN1 ",kWh," DJ_TPWRIN1 ",2|" // Verbrauch T1
|
||||||
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
|
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
|
||||||
"1,77070100010700ff@1," D_TPWRCURR ",W," DJ_TPWRCURR ",0|" // Strom Gesamt
|
"1,77070100010700ff@1," D_TPWRCURR ",W," DJ_TPWRCURR ",0|" // Strom Gesamt
|
||||||
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
|
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
|
||||||
"1,77070100150700ff@1," D_TPWRCURR1 ",W," DJ_TPWRCURR1 ",0|" // Strom L1
|
"1,77070100150700ff@1," D_TPWRCURR1 ",W," DJ_TPWRCURR1 ",0|" // Strom L1
|
||||||
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
|
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
|
||||||
@ -1438,6 +1438,13 @@ void SML_Decode(uint8_t index) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// =d must handle dindex
|
||||||
|
if (*mp == '=' && *(mp + 1) == 'd') {
|
||||||
|
if (index != mindex) {
|
||||||
|
dindex++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (index!=mindex) goto nextsect;
|
if (index!=mindex) goto nextsect;
|
||||||
|
|
||||||
// start of serial source buffer
|
// start of serial source buffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user