mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-17 17:03:12 +00:00
Merge pull request #168 from kng/master
Assignment error in meter types
This commit is contained in:
commit
246a4f96fe
@ -7,7 +7,7 @@ IEC6205621::IEC6205621(String payload) {
|
||||
lastUpdateMillis = millis();
|
||||
listId = payload.substring(payload.startsWith("/") ? 1 : 0, payload.indexOf("\n"));
|
||||
if(listId.startsWith("ADN")) {
|
||||
meterType == AmsTypeAidon;
|
||||
meterType = AmsTypeAidon;
|
||||
listId = listId.substring(0,4);
|
||||
} else if(listId.startsWith("KFM")) {
|
||||
meterType = AmsTypeKaifa;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user