mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix #820, NOTSET check for 4 byte values.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user