From de4dfa79d0c95f9e0bf4e3c4fd2fea89feced69a Mon Sep 17 00:00:00 2001 From: issey sandei Date: Mon, 20 Jan 2025 08:48:01 +0000 Subject: [PATCH] trunk --- protobufs | 2 +- src/graphics/Screen.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/protobufs b/protobufs index 76f806e1b..fde27e4ef 160000 --- a/protobufs +++ b/protobufs @@ -1 +1 @@ -Subproject commit 76f806e1bb1e2a7b157a14fadd095775f63db5e4 +Subproject commit fde27e4ef0fcee967063ba353422ed5f9a1c4790 diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index 5742d77e1..b7253ca17 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -2660,9 +2660,10 @@ int Screen::handleStatusUpdate(const meshtastic::Status *arg) return 0; } -int Screen::handleTextMessage(const meshtastic_MeshPacket *packet) { +int Screen::handleTextMessage(const meshtastic_MeshPacket *packet) +{ // If auto carousel is disabled -> return 0 and skip new messages handling - if (config.display.auto_screen_carousel_secs == 0) + if (config.display.auto_screen_carousel_secs == 0) return 0; // Handle focus change based on message type