diff --git a/libraries/AP_Logger/LogFile.cpp b/libraries/AP_Logger/LogFile.cpp index c4a308e537..5d6c0abcc7 100644 --- a/libraries/AP_Logger/LogFile.cpp +++ b/libraries/AP_Logger/LogFile.cpp @@ -447,8 +447,7 @@ bool AP_Logger_Backend::Write_Mode(uint8_t mode, const ModeReason reason) /* write servo status from CAN servo */ -void AP_Logger::Write_ServoStatus(uint64_t time_us, uint8_t id, float position, float force, float speed, uint8_t power_pct, - float pos_cmd, float voltage, float current, float mot_temp, float pcb_temp, uint8_t error) +void AP_Logger::Write_ServoStatus(uint64_t time_us, uint8_t id, float position, float force, float speed, uint8_t power_pct) { const struct log_CSRV pkt { LOG_PACKET_HEADER_INIT(LOG_CSRV_MSG), @@ -457,13 +456,7 @@ void AP_Logger::Write_ServoStatus(uint64_t time_us, uint8_t id, float position, position : position, force : force, speed : speed, - power_pct : power_pct, - pos_cmd : pos_cmd, - voltage : voltage, - current : current, - mot_temp : mot_temp, - pcb_temp : pcb_temp, - error : error, + power_pct : power_pct }; WriteBlock(&pkt, sizeof(pkt)); }