DataFlash: make CAM a critical message

This commit is contained in:
Peter Barker 2015-10-06 15:13:40 +11:00 committed by Andrew Tridgell
parent 8ec9ab6ad3
commit af4ad01f23

View File

@ -1488,7 +1488,7 @@ void DataFlash_Class::Log_Write_Camera(const AP_AHRS &ahrs, const AP_GPS &gps, c
pitch : (int16_t)ahrs.pitch_sensor, pitch : (int16_t)ahrs.pitch_sensor,
yaw : (uint16_t)ahrs.yaw_sensor yaw : (uint16_t)ahrs.yaw_sensor
}; };
WriteBlock(&pkt, sizeof(pkt)); WriteCriticalBlock(&pkt, sizeof(pkt));
} }
// Write an attitude packet // Write an attitude packet