MeshCore/src/helpers/sensors
Wessel Nieboer 8a9a0dca5f
Fix GPS +8mA power leak when disabled (nRF52)
On the T114, GPS_RESET (pin 38) is the same pin as PIN_3V3_EN.
MicroNMEALocationProvider::begin() sets pin 38 HIGH (powering the 3V3
rail) but stop() never set it back LOW, leaving the GPS module powered
even when disabled.

Assert reset pin in stop() to mirror begin(), and guard
_location->loop() behind gps_active check.

Fixes meshcore-dev/MeshCore#1628
2026-02-28 19:13:42 +01:00
..
EnvironmentSensorManager.cpp Fix GPS +8mA power leak when disabled (nRF52) 2026-02-28 19:13:42 +01:00
EnvironmentSensorManager.h changed ms to sec 2025-11-29 19:02:00 +08:00
LocationProvider.h cli_gps: use sensormanger to toggle gps on/off to keep state coherent 2025-10-05 20:31:25 +02:00
LPPDataHelpers.h * LPPDataHelpers, readCurrent() signed value 2025-12-06 16:49:25 +11:00
MicroNMEALocationProvider.h Fix GPS +8mA power leak when disabled (nRF52) 2026-02-28 19:13:42 +01:00