From 6f8ce425d8f63d73e326db85a283ca34e8c5a184 Mon Sep 17 00:00:00 2001 From: csrutil Date: Wed, 17 Sep 2025 09:19:18 +0800 Subject: [PATCH] remove the unnecessary blank line --- examples/companion_radio/ui-new/UITask.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/companion_radio/ui-new/UITask.cpp b/examples/companion_radio/ui-new/UITask.cpp index d117a7fb..e15a1d67 100644 --- a/examples/companion_radio/ui-new/UITask.cpp +++ b/examples/companion_radio/ui-new/UITask.cpp @@ -542,7 +542,6 @@ void UITask::newMsg(uint8_t path_len, const char* from_name, const char* text, i ((MsgPreviewScreen *) msg_preview)->addPreview(path_len, from_name, text); setCurrScreen(msg_preview); - if (_display != NULL) { if (!_display->isOn()) _display->turnOn(); _auto_off = millis() + AUTO_OFF_MILLIS; // extend the auto-off timer