We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e560f8 commit c9814e0Copy full SHA for c9814e0
Firmware/RTK_Surveyor/Tasks.ino
@@ -40,14 +40,13 @@ void F9PSerialReadTask(void *e)
40
{
41
while (serialGNSS.available())
42
43
- taskYIELD();
44
-
45
auto s = serialGNSS.readBytes(rBuffer, SERIAL_SIZE_RX);
46
47
//If we are actively survey-in then do not pass NMEA data from ZED to phone
48
if (systemState == STATE_BASE_TEMP_SETTLE || systemState == STATE_BASE_TEMP_SURVEY_STARTED)
49
50
//Do nothing
+ taskYIELD();
51
}
52
else if (SerialBT.connected())
53
@@ -109,7 +108,10 @@ void F9PSerialReadTask(void *e)
109
108
110
} //End maxLogTime
111
} //End logging
112
- }
+
113
114
+ } //End Serial.available()
115
116
taskYIELD();
117
0 commit comments