From 29b770893376a0aec3285d294b6282db8c691478 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Mon, 5 Sep 2011 22:21:44 +0000 Subject: [PATCH] made CTUN require armed motors to lessen the size of the logs. git-svn-id: https://arducopter.googlecode.com/svn/trunk@3281 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/ArduCopterMega.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopterMega/ArduCopterMega.pde b/ArduCopterMega/ArduCopterMega.pde index f89b9ffb8f..21a07cb16a 100644 --- a/ArduCopterMega/ArduCopterMega.pde +++ b/ArduCopterMega/ArduCopterMega.pde @@ -722,7 +722,7 @@ static void medium_loop() if (g.log_bitmask & MASK_LOG_ATTITUDE_MED) Log_Write_Attitude(); - if (g.log_bitmask & MASK_LOG_CTUN) + if (g.log_bitmask & MASK_LOG_CTUN && motor_armed) Log_Write_Control_Tuning(); #endif