Add flushCFGRATE. Ensure CFG RATE data is marked as stale by the set rate functions

This commit is contained in:
PaulZC
2021-04-13 10:36:11 +01:00
parent b20579e279
commit 63d8b60f42
4 changed files with 44 additions and 39 deletions
@@ -81,9 +81,6 @@ void setup()
while (1);
}
// Another trick we can use is to mark the CFG RATE data as stale so we can be sure we read fresh data
myGNSS.packetUBXCFGRATE->moduleQueried.moduleQueried.all = 0; // Mark all of the CFG RATE data as stale
// Read and print the updated measurement rate and navigation rate
rate = myGNSS.getMeasurementRate(); //Get the measurement rate of this module