Skip to content

Commit 99a3473

Browse files
committed
even less comments \o/
1 parent eae16cf commit 99a3473

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/companion_radio/ui-orig/UITask.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,9 @@ void UITask::newMsg(uint8_t path_len, const char* from_name, const char* text, i
136136
StrHelper::strncpy(_msg, text, sizeof(_msg));
137137

138138
if (_display != NULL) {
139-
// Only turn on display if it's off AND not connected to phone via BLE
140-
// If connected to phone, user will see messages there, so don't wake the OLED
141139
if (!_display->isOn() && !hasConnection()) {
142140
_display->turnOn();
143141
}
144-
// Always extend auto-off timer and trigger refresh if display is on
145142
if (_display->isOn()) {
146143
_auto_off = millis() + AUTO_OFF_MILLIS; // extend the auto-off timer
147144
_need_refresh = true;

0 commit comments

Comments
 (0)