Copter: fixed logging of parameters on arming

ensure parameters are logged when we have no logging before arming
This commit is contained in:
Andrew Tridgell 2015-06-12 13:10:54 +10:00
parent 3544549cf4
commit 290805b879

View File

@ -731,6 +731,8 @@ void Copter::start_logging()
}
DataFlash.Log_Write_Message_P(PSTR("Frame: " FRAME_CONFIG_STRING));
Log_Write_Startup();
// log the flight mode
DataFlash.Log_Write_Mode(control_mode);
}