MeshCore/examples
Alejandro Ramirez f8dbdce6bb
fix: apply persisted GPS enabled setting on boot for companion radio
The companion_radio example was not restoring the GPS enabled/disabled
preference from flash after reboot. The preference was being saved
correctly when toggled via the mobile app, but on boot,
sensors.begin() -> initBasicGPS() unconditionally sets gps_active=false
and nothing subsequently restored the persisted state.

Added applyGpsPrefs() (matching the pattern in simple_repeater,
simple_sensor, and simple_room_server) and call it from main.cpp
after sensors.begin() to ensure the GPS hardware is initialized
before the saved preference is applied.
2026-03-24 09:10:09 -05:00
..
companion_radio fix: apply persisted GPS enabled setting on boot for companion radio 2026-03-24 09:10:09 -05:00
kiss_modem simplify kiss noise floor sampling 2026-02-07 07:42:52 -08:00
simple_repeater * version 1.14.1 2026-03-20 12:32:41 +11:00
simple_room_server * version 1.14.1 2026-03-20 12:32:41 +11:00
simple_secure_chat Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucket 2026-03-08 23:54:32 +11:00
simple_sensor * version 1.14.1 2026-03-20 12:32:41 +11:00