We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4c0bcf commit 3ba6feaCopy full SHA for 3ba6fea
1 file changed
flight/modules/GPS/ubx_autoconfig.c
@@ -243,7 +243,9 @@ void gps_ubx_reset_sensor_type()
243
ubxSensorType = GPSPOSITIONSENSOR_SENSORTYPE_UNKNOWN;
244
GPSPositionSensorSensorTypeSet(&ubxSensorType);
245
// make the sensor type / autobaud code time out immediately to send the request immediately
246
- status->lastStepTimestampRaw += 0x8000000UL;
+ if (status) {
247
+ status->lastStepTimestampRaw += 0x8000000UL;
248
+ }
249
}
250
--mutex;
251
0 commit comments