ESM: add gps reset after begin

This commit is contained in:
fdlamotte
2025-09-28 09:20:59 +02:00
committed by GitHub
parent 030f0d5d82
commit c83abbeff6

View File

@@ -438,6 +438,7 @@ void EnvironmentSensorManager::initBasicGPS() {
// Try to detect if GPS is physically connected to determine if we should expose the setting
_location->begin();
_location->reset();
#ifndef PIN_GPS_EN
MESH_DEBUG_PRINTLN("No GPS wake/reset pin found for this board. Continuing on...");
@@ -545,6 +546,7 @@ void EnvironmentSensorManager::start_gps() {
#endif
_location->begin();
_location->reset();
#ifndef PIN_GPS_RESET
MESH_DEBUG_PRINTLN("Start GPS is N/A on this board. Actual GPS state unchanged");