From 42039e27e74111053d50c17475be4bb75484e6a6 Mon Sep 17 00:00:00 2001 From: Neil Hao Date: Sun, 6 Aug 2023 06:28:37 -0700 Subject: [PATCH] Initialize the L76K Chip, use GPS + GLONASS + BEIDOU (#2680) * 'nano-g2-ultra' * revert overcommit * nano-g2-ultra-fmt * revert overcommit * revert overcommit * Added BEIDOU support to L76K --------- Co-authored-by: Ben Meadors --- src/gps/GPS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gps/GPS.cpp b/src/gps/GPS.cpp index 737ad71d2..62536505d 100644 --- a/src/gps/GPS.cpp +++ b/src/gps/GPS.cpp @@ -213,8 +213,8 @@ bool GPS::setupGPS() // _serial_gps->begin(9600); //The baud rate of 9600 has been initialized at the beginning of setupGPS, this line // is the redundant part delay(250); - // Initialize the L76K Chip, use GPS + GLONASS - _serial_gps->write("$PCAS04,5*1C\r\n"); + // Initialize the L76K Chip, use GPS + GLONASS + BEIDOU + _serial_gps->write("$PCAS04,7*1E\r\n"); delay(250); // only ask for RMC and GGA _serial_gps->write("$PCAS03,1,0,0,0,1,0,0,0,0,0,,,0,0*02\r\n");