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 Mišić
2022-06-01 13:15:13 -04:00
committed by Daniel Agar
parent a9cdfff7a3
commit 25488da944
27 changed files with 68 additions and 193 deletions
-2
View File
@@ -951,8 +951,6 @@ UavcanNode::ioctl(file *filp, int cmd, unsigned long arg)
switch (cmd) {
case PWM_SERVO_SET_ARM_OK:
case PWM_SERVO_CLEAR_ARM_OK:
case PWM_SERVO_SET_FORCE_SAFETY_OFF:
// these are no-ops, as no safety switch
break;
case MIXERIOCRESET: