mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-14 15:16:40 +00:00
NodePrefs::auto_off_secs defaults to 15 -- real power-saving behaviour a battery-powered board needs (screen off, optionally locked, 15s after the last input). UITask::autoOffMillis() treats 0 as "never" and skips that whole branch in UITask::loop() entirely, so there's no separate flag to touch. A demo running on a visitor's screen has no battery to save and no reason to go dark while they're reading it. sim_test_disable_screen_timeout() is a new sim-only hook, same shape as the other sim_test_* boot-time hooks: meshcore-solo-site calls it once after boot. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018iubftDmKNWmkNnhJRz8UH