From fb01e72d0416a80edc4c0193ff39ced1b8d0bc72 Mon Sep 17 00:00:00 2001 From: issey sandei Date: Sat, 18 Jan 2025 20:25:45 +0000 Subject: [PATCH] trunk + comment --- src/graphics/Screen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index db10fa765..fed5d17b2 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -2661,6 +2661,7 @@ int Screen::handleStatusUpdate(const meshtastic::Status *arg) } int Screen::handleTextMessage(const meshtastic_MeshPacket *packet) +// If auto carousel is disabled, the focus doesn't chage on the incoming message { if (config.display.auto_screen_carousel_secs != 0) { if (showingNormalScreen) { @@ -2677,7 +2678,6 @@ int Screen::handleTextMessage(const meshtastic_MeshPacket *packet) return 0; } - // Triggered by MeshModules int Screen::handleUIFrameEvent(const UIFrameEvent *event) { @@ -2759,4 +2759,4 @@ int Screen::handleAdminMessage(const meshtastic_AdminMessage *arg) } // namespace graphics #else graphics::Screen::Screen(ScanI2C::DeviceAddress, meshtastic_Config_DisplayConfig_OledType, OLEDDISPLAY_GEOMETRY) {} -#endif // HAS_SCREEN +#endif // HAS_SCREEN \ No newline at end of file