Files
firmware/variants
Jonathan BennettandClaude Opus 5 bdd107b35d r123: a bench flag that keeps light sleep out of the state machine
Light sleep suspends the USB-serial/JTAG console, and a CPU-only reset does not
bring it back, so a capture goes dark for as long as the node sleeps - the same
thing that cost r120 most of its runs. Nothing in r123 needs light sleep: the
fix under test is on the deep-sleep path.

MESHTASTIC_NO_LIGHT_SLEEP leaves the two timed transitions into stateLS out of
PowerFSM, so no config can put the capture back in the dark. It is not an early
return from doLightSleep(): lsIdle() reads an immediate ESP_SLEEP_WAKEUP_TIMER
as a completed sleep chunk, so that shape would churn through ls_secs at loop
speed instead of sleeping. Deep sleep is untouched.

Only tbeam-s3-core-r123 defines it.

Co-Authored-By: Jonathan Bennett <jbennett@incomsystems.biz>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GTiifXrVc4YdonmLRCeWhw
2026-10-12 16:02:47 +00:00
..
2026-09-24 22:41:37 +00:00