fixed return for NRF52

This commit is contained in:
Thomas Göttgens 2022-05-18 18:25:12 +02:00
parent 6520c51b66
commit cf465a3d34
2 changed files with 5 additions and 5 deletions

View File

@ -100,10 +100,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define GPS_TX_PIN 12 #define GPS_TX_PIN 12
#endif #endif
#ifndef TTGO_T_ECHO
#define GPS_UBLOX
#endif
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// LoRa SPI // LoRa SPI
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
@ -118,6 +114,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif #endif
#ifndef TTGO_T_ECHO
#define GPS_UBLOX
#endif
// //
// Standard definitions for !ESP32 targets // Standard definitions for !ESP32 targets
// //

View File

@ -26,8 +26,8 @@ bool NMEAGPS::factoryReset()
0xFF, 0xFF, 0x00, 0x00, 0x17, 0x2B, 0x7E}; 0xFF, 0xFF, 0x00, 0x00, 0x17, 0x2B, 0x7E};
_serial_gps->write(_message_reset,sizeof(_message_reset)); _serial_gps->write(_message_reset,sizeof(_message_reset));
delay(1000); delay(1000);
return true;
#endif #endif
return true;
} }
bool NMEAGPS::setupGPS() bool NMEAGPS::setupGPS()