From af4ad01f23698773b0cf0b8f7db289296fa362e5 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 6 Oct 2015 15:13:40 +1100 Subject: [PATCH] DataFlash: make CAM a critical message --- libraries/DataFlash/LogFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/DataFlash/LogFile.cpp b/libraries/DataFlash/LogFile.cpp index ce0268a37f..ca6ae8d720 100644 --- a/libraries/DataFlash/LogFile.cpp +++ b/libraries/DataFlash/LogFile.cpp @@ -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, yaw : (uint16_t)ahrs.yaw_sensor }; - WriteBlock(&pkt, sizeof(pkt)); + WriteCriticalBlock(&pkt, sizeof(pkt)); } // Write an attitude packet