mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 01:53:34 +08:00
Send mavlink manual control buttons field in manual control input topic (#22988)
Pass along button states from manual control mavlink message in new buttons field in manual control input topic
This commit is contained in:
@@ -125,7 +125,7 @@ void elrs_led_task()
|
||||
|
||||
orb_copy(ORB_ID(manual_control_input), manual_control_input_fd, &setpoint_req);
|
||||
|
||||
_cmd = (ControllerInput)setpoint_req.aux1;
|
||||
_cmd = (ControllerInput)setpoint_req.buttons;
|
||||
|
||||
// skip duplicate cmds
|
||||
if (_cmd == _prev_cmd) {
|
||||
|
||||
Reference in New Issue
Block a user