GPS fix for M4

This commit is contained in:
Jonathan Bennett
2025-11-28 16:21:04 -06:00
parent c051d5095e
commit 3c8fd9e6e9
3 changed files with 16 additions and 12 deletions

View File

@@ -117,15 +117,17 @@ static const uint8_t A0 = PIN_A0;
#define GPS_L76K
#define GPS_BAUDRATE 9600
#define PIN_GPS_EN (32 + 11)
#define GPS_EN_ACTIVE 0
#define PIN_GPS_REINIT (3)
#define GPS_EN_ACTIVE LOW
#define PIN_GPS_RESET (3)
#define GPS_RESET_MODE HIGH
#define PIN_GPS_STANDBY (28)
#define GPS_STANDBY_ACTIVE HIGH
#define GPS_TX_PIN (32 + 12)
#define GPS_RX_PIN (32 + 14)
#define GPS_THREAD_INTERVAL 50
#define PIN_SERIAL1_RX GPS_TX_PIN
#define PIN_SERIAL1_TX GPS_RX_PIN
#define PIN_SERIAL1_RX GPS_RX_PIN
#define PIN_SERIAL1_TX GPS_TX_PIN
#ifdef __cplusplus
}