fix #820, NOTSET check for 4 byte values.

This commit is contained in:
MichaelDvP
2022-12-20 08:26:00 +01:00
parent cbd55b0366
commit 6f7fa6abd9
3 changed files with 3 additions and 1 deletions

View File

@@ -522,7 +522,7 @@ bool Helpers::hasValue(const uint16_t & value) {
}
bool Helpers::hasValue(const uint32_t & value) {
return (value != EMS_VALUE_ULONG_NOTSET);
return (value < EMS_VALUE_ULONG_NOTSET);
}
// checks if we can convert a char string to an int value