mirror of https://github.com/meshcore-dev/MeshCore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
d9df8307ca
anon-contacts-fix
default-scope
dev
flood.max.advert
gh-pages
main
t-impulse-ui
companion-v1.0.0a
companion-v1.0.0b
companion-v1.0.0c
companion-v1.10.0
companion-v1.11.0
companion-v1.12.0
companion-v1.13.0
companion-v1.14.0
companion-v1.14.1
companion-v1.15.0
companion-v1.16.0
companion-v1.2.0
companion-v1.2.1
companion-v1.2.2
companion-v1.3.0
companion-v1.4.0
companion-v1.4.1
companion-v1.4.2
companion-v1.4.3
companion-v1.5.0
companion-v1.5.1
companion-v1.6.0
companion-v1.6.1
companion-v1.6.2
companion-v1.7.0
companion-v1.7.1
companion-v1.7.2
companion-v1.7.3
companion-v1.7.4
companion-v1.8.0
companion-v1.8.1
companion-v1.9.0
rep-v6
repeater-v1.0.0a
repeater-v1.0.0c
repeater-v1.0.0d
repeater-v1.10.0
repeater-v1.11.0
repeater-v1.12.0
repeater-v1.13.0
repeater-v1.14.0
repeater-v1.14.1
repeater-v1.15.0
repeater-v1.16.0
repeater-v1.2.0
repeater-v1.2.1
repeater-v1.2.2
repeater-v1.3.0
repeater-v1.4.0
repeater-v1.4.1
repeater-v1.4.2
repeater-v1.4.3
repeater-v1.5.0
repeater-v1.5.1
repeater-v1.6.0
repeater-v1.6.1
repeater-v1.6.2
repeater-v1.7.0
repeater-v1.7.1
repeater-v1.7.2
repeater-v1.7.3
repeater-v1.7.4
repeater-v1.8.0
repeater-v1.8.1
repeater-v1.9.0
repeater-v1.9.1
room-server-v1.0.0a
room-server-v1.0.0c
room-server-v1.10.0
room-server-v1.11.0
room-server-v1.12.0
room-server-v1.13.0
room-server-v1.14.0
room-server-v1.14.1
room-server-v1.15.0
room-server-v1.16.0
room-server-v1.2.0
room-server-v1.2.1
room-server-v1.2.2
room-server-v1.3.0
room-server-v1.4.0
room-server-v1.4.1
room-server-v1.4.2
room-server-v1.4.3
room-server-v1.5.0
room-server-v1.5.1
room-server-v1.6.0
room-server-v1.6.1
room-server-v1.6.2
room-server-v1.7.0
room-server-v1.7.1
room-server-v1.7.2
room-server-v1.7.3
room-server-v1.7.4
room-server-v1.8.0
room-server-v1.8.1
room-server-v1.9.0
room-v6
${ noResults }
MeshCore/examples/companion_radio/ui-new
AUTO_OFF_MILLIS is a power-save feature aimed at battery use. When the board reports isExternalPowered() == true (USB or other DC source), blanking the screen serves no purpose — there's nothing to conserve. But OLEDs are vulnerable to burn-in with static content, so this behaviour is gated behind a new build flag KEEP_DISPLAY_ON_USB. Default is unchanged from upstream — the display blanks after AUTO_OFF_MILLIS on USB or battery. Variants that ship with an LCD instead of an OLED (e.g. heltec_t096) can opt in by adding -D KEEP_DISPLAY_ON_USB to their env, gaining always-on-while-powered without exposing OLED users to burn-in risk. When the flag is enabled, the implementation refreshes _auto_off every loop iteration while externally powered, so the timer naturally counts a fresh AUTO_OFF_MILLIS window from the moment power is removed — no instantaneous-blank-on-unplug. Applied to all three companion_radio UI flavours (ui-new, ui-tiny, ui-orig). Boards without an isExternalPowered() override use the base-class default in MeshCore.h (returns false), so battery-powered behaviour is unchanged everywhere. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> |
1 month ago | |
|---|---|---|
| .. | ||
| UITask.cpp | companion_radio: opt-in KEEP_DISPLAY_ON_USB to keep OLED on while powered | 1 month ago |
| UITask.h | Add muted icon to show when buzzer is muted | 5 months ago |
| icons.h | Add muted icon to show when buzzer is muted | 5 months ago |