mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
Fixes #2313. Hold the Function Button ~5s to power off (matches the board's stock firmware timing); any press wakes it back up, since the chip is fully halted in SYSTEMOFF and can't measure hold duration while off. The power LED blinks 3x on both shutdown and wake/boot to confirm the action registered. ThinkNodeM6Board::powerOff() now arms the button as a GPIO wake source (pull-up + SENSE_LOW) before entering SYSTEMOFF via NRF52Board::powerOff(). Scoped to simple_repeater and simple_room_server only, since companion_radio already has an in-flight change (#2837) moving its button handling into UITask. Tested on hardware: shutdown, wake, and LED feedback all verified on a physical ThinkNode M6 repeater.pull/3066/head
4 changed files with 65 additions and 3 deletions
Loading…
Reference in new issue