mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 07:29:23 +00:00
Prevent meterid override
This commit is contained in:
parent
094e588ad5
commit
210001e232
@ -900,7 +900,7 @@ IEC6205675::IEC6205675(const char* d, uint8_t useMeterType, MeterConfig* meterCo
|
||||
meterType = AmsTypeIskra;
|
||||
}
|
||||
|
||||
if(meterType != AmsTypeUnknown) {
|
||||
if(meterId.isEmpty() && meterType != AmsTypeUnknown) {
|
||||
stripNonAscii((uint8_t*) ctx.system_title, 8);
|
||||
meterId = String((const char*)ctx.system_title);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user