diff --git a/tasmota/tasmota_support/support.ino b/tasmota/tasmota_support/support.ino index 0552a30d1..57f207c67 100755 --- a/tasmota/tasmota_support/support.ino +++ b/tasmota/tasmota_support/support.ino @@ -646,7 +646,7 @@ int32_t HexToBytes(const char* hex, uint8_t* out, size_t out_len) { } size_t bytes_out = len / 2; - if (bytes_out < out_len) { + if (bytes_out > out_len) { bytes_out = out_len; }