Skip to content

Commit c3a7ad2

Browse files
authored
More GPS pin flips for devices (#8760)
1 parent 06dac12 commit c3a7ad2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

variants/nrf52840/muzi_base/variant.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ extern "C" {
103103
#define LR11X0_DIO_AS_RF_SWITCH
104104

105105
// GPS
106-
#define GPS_RX_PIN (0 + 19) // P0.19
107-
#define GPS_TX_PIN (0 + 20) // P0.20
106+
#define GPS_RX_PIN (0 + 20) // P0.20
107+
#define GPS_TX_PIN (0 + 19) // P0.19
108108
#define GPS_EN_GPIO (32 + 1) // P1.01
109109

110-
#define PIN_SERIAL1_RX GPS_TX_PIN
111-
#define PIN_SERIAL1_TX GPS_RX_PIN
110+
#define PIN_SERIAL1_RX GPS_RX_PIN
111+
#define PIN_SERIAL1_TX GPS_TX_PIN
112112

113113
#define PIN_BUZZER (0 + 22) // P0.22
114114

variants/nrf52840/t-echo/variant.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ External serial flash WP25R1635FZUIL0
187187

188188
#define GPS_THREAD_INTERVAL 50
189189

190-
#define PIN_SERIAL1_RX GPS_TX_PIN
191-
#define PIN_SERIAL1_TX GPS_RX_PIN
190+
#define PIN_SERIAL1_RX GPS_RX_PIN
191+
#define PIN_SERIAL1_TX GPS_TX_PIN
192192

193193
// PCF8563 RTC Module
194194
#define PCF8563_RTC 0x51

0 commit comments

Comments
 (0)