Skip to content

Commit 1d886b6

Browse files
committed
Increase gnss library buffer. Remove bluetooth begin from setup.
1 parent 3d5fb25 commit 1d886b6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Firmware/RTK_Surveyor/RTK_Surveyor.ino

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ SFE_UBLOX_GNSS i2cGNSS;
135135
#define MAX_PAYLOAD_SIZE 384 // Override MAX_PAYLOAD_SIZE for getModuleInfo which can return up to 348 bytes
136136
uint8_t settingPayload[MAX_PAYLOAD_SIZE];
137137

138-
#define gnssFileBufferSize 16384 // Allocate 16KBytes of RAM for UBX message storage
138+
#define gnssFileBufferSize 32768 // Allocate 16KBytes of RAM for UBX message storage
139139

140140
TaskHandle_t F9PI2CTaskHandle = NULL; //Task for regularly checking I2C
141141
const int i2cTaskStackSize = 2000;
@@ -280,14 +280,11 @@ void setup()
280280
beginFuelGauge(); //Configure battery fuel guage monitor
281281
checkBatteryLevels(); //Force display so you see battery level immediately at power on
282282

283-
beginBluetooth(); //Get MAC, start radio
284-
285283
beginGNSS(); //Connect and configure ZED-F9P
286284

287285
Serial.flush(); //Complete any previous prints
288286

289287
danceLEDs(); //Turn on LEDs like a car dashboard
290-
291288
}
292289

293290
void loop()

0 commit comments

Comments
 (0)