Fixed hex vs dec in inv dectection

This commit is contained in:
Thomas Basler 2022-06-05 13:10:25 +02:00
parent d9d6c3b27d
commit ded6dc5977

View File

@ -2,7 +2,7 @@
bool HM_4CH::isValidSerial(uint64_t serial) bool HM_4CH::isValidSerial(uint64_t serial)
{ {
return serial >= 116100000000 && serial <= 116199999999; return serial >= 0x116100000000 && serial <= 0x116199999999;
} }
String HM_4CH::typeName() String HM_4CH::typeName()