Fix test build

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2024-05-23 16:17:45 -04:00
parent ada7cbc565
commit 9111e6eabc

View File

@@ -166,7 +166,9 @@ void loop() {
// Test the GPS functions
#if defined(TINY_GSM_MODEM_HAS_GPS) && not defined(__AVR_ATmega32U4__)
#if !defined(TINY_GSM_MODEM_SARAR5) // not needed for this module
modem.enableGPS();
#endif
modem.getGPSraw();
float latitude = -9999;
float longitude = -9999;