You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packetUBXRXMPMP->automaticFlags.flags.bits.callbackCopyValid = true; // Mark the data as valid
3299
3303
}
3300
3304
3301
-
// Full PMP message
3302
-
if ((packetUBXRXMPMPmessage != NULL) && (packetUBXRXMPMPmessage->callbackData != NULL))
3305
+
// Full PMP message, including Class, ID and checksum
3306
+
// By default, new PMP data will always overwrite 'old' data (data which is valid but which has not yet been read by the callback).
3307
+
// To prevent this, uncomment the line two lines below
3308
+
if ((packetUBXRXMPMPmessage != NULL) && (packetUBXRXMPMPmessage->callbackData != NULL)
3309
+
//&& (packetUBXRXMPMPmessage->automaticFlags.flags.bits.callbackCopyValid == false) // <=== Uncomment this line to prevent new data from overwriting 'old'
0 commit comments