px4io: replace safety_off state with safety button event (#19558)

internal PX4IO safety_off state is removed and replaced with a normal safety button event. From this 'commit' commander is taking care of the PX4IO safety.
This commit is contained in:
Igor Misic
2022-05-23 06:54:37 +02:00
committed by Beat Küng
parent 08dcc72e1f
commit 12a81979a8
26 changed files with 69 additions and 190 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ bool status_rc_ppm
bool status_rc_sbus
bool status_rc_st24
bool status_rc_sumd
bool status_safety_off
bool status_safety_button_event # px4io safety button was pressed for longer than 1 second
# PX4IO alarms (PX4IO_P_STATUS_ALARMS)
bool alarm_pwm_error