DataFlash: do not log CURR.Throttle because it's already logged elsewhere
This commit is contained in:
parent
7a397475af
commit
43c7b4d518
@ -136,7 +136,7 @@ public:
|
||||
void Log_Write_ESC(void);
|
||||
void Log_Write_Airspeed(AP_Airspeed &airspeed);
|
||||
void Log_Write_Attitude(AP_AHRS &ahrs, const Vector3f &targets);
|
||||
void Log_Write_Current(const AP_BattMonitor &battery, int16_t throttle);
|
||||
void Log_Write_Current(const AP_BattMonitor &battery);
|
||||
void Log_Write_Compass(const Compass &compass, uint64_t time_us=0);
|
||||
void Log_Write_Mode(uint8_t mode, uint8_t reason = 0);
|
||||
|
||||
|
@ -1638,7 +1638,7 @@ void DataFlash_Class::Log_Write_Attitude(AP_AHRS &ahrs, const Vector3f &targets)
|
||||
}
|
||||
|
||||
// Write an Current data packet
|
||||
void DataFlash_Class::Log_Write_Current(const AP_BattMonitor &battery, int16_t throttle)
|
||||
void DataFlash_Class::Log_Write_Current(const AP_BattMonitor &battery)
|
||||
{
|
||||
float voltage2 = battery.voltage2();
|
||||
struct log_Current pkt = {
|
||||
|
Loading…
Reference in New Issue
Block a user