mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-16 10:02:05 +00:00
fixed return for NRF52
This commit is contained in:
parent
6520c51b66
commit
cf465a3d34
@ -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
|
||||||
//
|
//
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user