From 99b448d1bb57299a687398580df98e4e0549dc6f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 2 Nov 2015 20:28:02 +1100 Subject: [PATCH] Copter: make EV log messages critical these should be a high priority --- ArduCopter/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/Log.cpp b/ArduCopter/Log.cpp index b2a26414a8..15cbf3e600 100644 --- a/ArduCopter/Log.cpp +++ b/ArduCopter/Log.cpp @@ -466,7 +466,7 @@ void Copter::Log_Write_Event(uint8_t id) time_us : hal.scheduler->micros64(), id : id }; - DataFlash.WriteBlock(&pkt, sizeof(pkt)); + DataFlash.WriteCriticalBlock(&pkt, sizeof(pkt)); } }