mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-18 03:03:20 +00:00
Remove GPS Baudrate locking for Seeed Xiao NRF52840 Kit (#7016)
The Seeed Xiao NRF52840 Kit's default GPS is an L76K which operates at 9600 baud, so when this variant was defined that baud rate was specified. However, this is a development board and it is expected that users can attach their own devices. This includes GPS, which may operate at a different baud rate. The current fixed baud rate prevents this, so this patch removes that setting. This will revert to the regular automatic probe method. This will sucessfully detect the L76K as before (probably the same as before since 9600 baud is the first baud rate checked), but also allow other GPSes at other baud rates to be detected. Fixes https://github.com/meshtastic/firmware/issues/7012 Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
parent
4e6418b635
commit
8557bd031d
@ -142,7 +142,6 @@ static const uint8_t SCL = PIN_WIRE_SCL;
|
||||
#define PIN_GPS_RX D6
|
||||
#define PIN_GPS_TX D7
|
||||
#define HAS_GPS 1
|
||||
#define GPS_BAUDRATE 9600
|
||||
#define GPS_THREAD_INTERVAL 50
|
||||
#define PIN_SERIAL1_RX PIN_GPS_TX
|
||||
#define PIN_SERIAL1_TX PIN_GPS_RX
|
||||
|
Loading…
Reference in New Issue
Block a user