fdlamotte
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
src/helpers/sensors/EnvironmentSensorManager.cpp
|
|
|
@ -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"); |
|
|
|
|