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:
Eric Katzfey
2024-04-09 12:35:42 -07:00
committed by GitHub
parent a73df4752f
commit d8fabd11d0
3 changed files with 5 additions and 1 deletions
@@ -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) {