mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-06 16:08:28 -04:00
AP_DroneCAN: correct compilation when AP_DRONECAN_VOLZ_FEEDBACK_ENABLED enabled
This commit is contained in:
parent
5de498f54b
commit
6d7fccecf0
@ -1448,7 +1448,7 @@ void AP_DroneCAN::handle_actuator_status_Volz(const CanardRxTransfer& transfer,
|
||||
.voltage = msg.voltage * 0.2,
|
||||
.current = msg.current * 0.025,
|
||||
.duty_cycle = msg.motor_pwm * (100.0/255.0),
|
||||
.motor_temperature_cdeg = (int16_t(msg.motor_temperature) - 50)) * 100,
|
||||
.motor_temperature_cdeg = (int16_t(msg.motor_temperature) - 50) * 100,
|
||||
.valid_types = AP_Servo_Telem::TelemetryData::Types::MEASURED_POSITION |
|
||||
AP_Servo_Telem::TelemetryData::Types::VOLTAGE |
|
||||
AP_Servo_Telem::TelemetryData::Types::CURRENT |
|
||||
|
Loading…
Reference in New Issue
Block a user