From 4b3aff3f91f86776776eddefdb14c210fd5fe56b Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 6 Dec 2013 12:58:23 +0900 Subject: [PATCH] Copter: log flight mode to dataflash on start-up --- ArduCopter/Log.pde | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduCopter/Log.pde b/ArduCopter/Log.pde index 87fd9ce493..cfa9c5722d 100644 --- a/ArduCopter/Log.pde +++ b/ArduCopter/Log.pde @@ -788,6 +788,9 @@ static void start_logging() if (hal.util->get_system_id(sysid)) { DataFlash.Log_Write_Message(sysid); } + + // log the flight mode + Log_Write_Mode(control_mode); } }