From a96abde4bfd7a6d269e502ac9dc9d9da4d697ec5 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Thu, 2 Jun 2016 13:59:51 -0700 Subject: [PATCH] Copter: do not log CURR.Throttle because it's already logged elsewhere --- ArduCopter/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/Log.cpp b/ArduCopter/Log.cpp index e23d3c12e4..ca508a108a 100644 --- a/ArduCopter/Log.cpp +++ b/ArduCopter/Log.cpp @@ -216,7 +216,7 @@ void Copter::Log_Write_AutoTuneDetails(float angle_cd, float rate_cds) // Write a Current data packet void Copter::Log_Write_Current() { - DataFlash.Log_Write_Current(battery, (int16_t)(motors.get_throttle())); + DataFlash.Log_Write_Current(battery); // also write power status DataFlash.Log_Write_Power();