From 09dd2a1b3d0fe52971fd1154de0298701003bef6 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Tue, 23 Feb 2016 13:02:03 -0800 Subject: [PATCH] Copter: use set_dataflash() for static logging --- ArduCopter/system.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/system.cpp b/ArduCopter/system.cpp index 963a670c40..d5e617fea2 100644 --- a/ArduCopter/system.cpp +++ b/ArduCopter/system.cpp @@ -165,6 +165,8 @@ void Copter::init_ardupilot() log_init(); #endif + GCS_MAVLINK::set_dataflash(&DataFlash); + // update motor interlock state update_using_interlock();