mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add TODO
This commit is contained in:
@@ -133,7 +133,7 @@ class Telegram {
|
|||||||
auto msg_size = (index - this->offset + num_bytes - 1);
|
auto msg_size = (index - this->offset + num_bytes - 1);
|
||||||
|
|
||||||
if ((index < this->offset) || (msg_size >= this->message_length) || (msg_size > EMS_MAX_TELEGRAM_MESSAGE_LENGTH)) {
|
if ((index < this->offset) || (msg_size >= this->message_length) || (msg_size > EMS_MAX_TELEGRAM_MESSAGE_LENGTH)) {
|
||||||
return false;
|
return false; // TODO we should set value to a default value here
|
||||||
}
|
}
|
||||||
|
|
||||||
Value val = value;
|
Value val = value;
|
||||||
|
|||||||
Reference in New Issue
Block a user