Browse Source

Merge pull request #2488 from weebl2000/fix-rak-pin-gps-en-undefined

Gate PIN_GPS_EN
pull/2493/head
Liam Cottle 4 weeks ago
committed by GitHub
parent
commit
bf733f00a6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/helpers/sensors/EnvironmentSensorManager.cpp

2
src/helpers/sensors/EnvironmentSensorManager.cpp

@ -731,9 +731,11 @@ bool EnvironmentSensorManager::gpsIsAwake(uint8_t ioPin){
return true;
} else if (Serial1.available()) {
MESH_DEBUG_PRINTLN("Serial GPS init correctly and is turned on");
#ifdef PIN_GPS_EN
if(PIN_GPS_EN){
gpsResetPin = PIN_GPS_EN;
}
#endif
serialGPSFlag = true;
gps_active = true;
gps_detected = true;

Loading…
Cancel
Save