mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
fix display or direction in pretty telegram
This commit is contained in:
@@ -471,7 +471,7 @@ std::string EMSESP::pretty_telegram(std::shared_ptr<const Telegram> telegram) {
|
||||
type_name = read_flash_string(F("?"));
|
||||
}
|
||||
|
||||
if (telegram->dest & 0x80) {
|
||||
if (telegram->operation == Telegram::Operation::RX_READ) {
|
||||
direction = read_flash_string(F("<-"));
|
||||
} else {
|
||||
direction = read_flash_string(F("->"));
|
||||
|
||||
Reference in New Issue
Block a user