File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1460,8 +1460,8 @@ void paintSystemTest()
14601460
14611461 SFE_UBLOX_GNSS myGNSS;
14621462
1463- // begin() attempts 3 connections
1464- if (myGNSS.begin (serialGNSS) == true )
1463+ // begin() attempts 3 connections with 20ms begin timeout
1464+ if (myGNSS.begin (serialGNSS, 20 ) == true )
14651465 {
14661466 zedUartPassed = true ;
14671467 oled.print (F (" OK" ));
Original file line number Diff line number Diff line change @@ -642,8 +642,9 @@ void updateSystemState()
642642 // Debounce entry into test menu
643643 if (millis () - lastTestMenuChange > 500 )
644644 {
645+ stopUART2Tasks (); // Start monitoring the UART1 from ZED for NMEA and UBX data (enables logging)
645646 zedUartPassed = false ;
646-
647+
647648 // Enable RTCM 1230. This is the GLONASS bias sentence and is transmitted
648649 // even if there is no GPS fix. We use it to test serial output.
649650 i2cGNSS.enableRTCMmessage (UBX_RTCM_1230, COM_PORT_UART2, 1 ); // Enable message every second
You can’t perform that action at this time.
0 commit comments