mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
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#1628pull/1633/head
committed by
Wessel Nieboer
2 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue