mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
add comment TODO
This commit is contained in:
@@ -985,7 +985,7 @@ void EMSESP::process_version(std::shared_ptr<const Telegram> telegram) {
|
|||||||
// some devices store the protocol type (HT3, Buderus) in the last byte
|
// some devices store the protocol type (HT3, Buderus) in the last byte
|
||||||
uint8_t brand;
|
uint8_t brand;
|
||||||
if (telegram->message_length >= 10) {
|
if (telegram->message_length >= 10) {
|
||||||
brand = EMSdevice::decode_brand(telegram->message_data[9]);
|
brand = EMSdevice::decode_brand(telegram->message_data[9]); // TODO should be offset + 9?
|
||||||
} else {
|
} else {
|
||||||
brand = EMSdevice::Brand::NO_BRAND; // unknown
|
brand = EMSdevice::Brand::NO_BRAND; // unknown
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user