fix #820, 4byte-values

This commit is contained in:
MichaelDvP
2022-12-22 09:02:05 +01:00
parent d6de0f6fa8
commit ab1924d266
3 changed files with 7 additions and 7 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 && value != EMS_VALUE_ULLONG_NOTSET);
}
// checks if we can convert a char string to an int value