File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -4134,6 +4134,17 @@ void SFE_UBLOX_GNSS::checkCallbacks(void)
4134
4134
packetUBXNAVHPPOSLLH->automaticFlags.flags.bits.callbackCopyValid = false; // Mark the data as stale
4135
4135
}
4136
4136
4137
+ if ((packetUBXNAVPVAT != NULL) // If RAM has been allocated for message storage
4138
+ && (packetUBXNAVPVAT->callbackData != NULL) // If RAM has been allocated for the copy of the data
4139
+ && (packetUBXNAVPVAT->callbackPointer != NULL) // If the pointer to the callback has been defined
4140
+ && (packetUBXNAVPVAT->automaticFlags.flags.bits.callbackCopyValid == true)) // If the copy of the data is valid
4141
+ {
4142
+ //if (_printDebug == true)
4143
+ // _debugSerial->println(F("checkCallbacks: calling callback for NAV PVAT"));
4144
+ packetUBXNAVPVAT->callbackPointer(*packetUBXNAVPVAT->callbackData); // Call the callback
4145
+ packetUBXNAVPVAT->automaticFlags.flags.bits.callbackCopyValid = false; // Mark the data as stale
4146
+ }
4147
+
4137
4148
if ((packetUBXNAVCLOCK != NULL) // If RAM has been allocated for message storage
4138
4149
&& (packetUBXNAVCLOCK->callbackData != NULL) // If RAM has been allocated for the copy of the data
4139
4150
&& (packetUBXNAVCLOCK->callbackPointer != NULL) // If the pointer to the callback has been defined
You can’t perform that action at this time.
0 commit comments