Merge pull request #1596 from jbrazio/2026/t114-sensors

Refactor Heltec T114 sensor management
This commit is contained in:
ripplebiz 2026-02-07 14:17:15 +11:00 committed by GitHub
commit c1c9848569
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 52 additions and 125 deletions

View file

@ -29,6 +29,12 @@ void setup() {
board.begin();
#if defined(MESH_DEBUG) && defined(NRF52_PLATFORM)
// give some extra time for serial to settle so
// boot debug messages can be seen on terminal
delay(5000);
#endif
// For power saving
lastActive = millis(); // mark last active time since boot
@ -42,6 +48,7 @@ void setup() {
#endif
if (!radio_init()) {
MESH_DEBUG_PRINTLN("Radio init failed!");
halt();
}