Browse Source

delete unused DSM_BIND_POWER_UP

release/1.12
Daniel Agar 4 years ago
parent
commit
2b0a047f0c
  1. 3
      src/drivers/drv_pwm_output.h
  2. 4
      src/drivers/px4io/px4io.cpp

3
src/drivers/drv_pwm_output.h

@ -186,9 +186,6 @@ struct pwm_output_rc_config { @@ -186,9 +186,6 @@ struct pwm_output_rc_config {
/** start DSM bind */
#define DSM_BIND_START _PX4_IOC(_PWM_SERVO_BASE, 10)
/** power up DSM receiver */
#define DSM_BIND_POWER_UP _PX4_IOC(_PWM_SERVO_BASE, 11)
/** set the PWM value for failsafe */
#define PWM_SERVO_SET_FAILSAFE_PWM _PX4_IOC(_PWM_SERVO_BASE, 12)

4
src/drivers/px4io/px4io.cpp

@ -2736,10 +2736,6 @@ PX4IO::ioctl(file *filep, int cmd, unsigned long arg) @@ -2736,10 +2736,6 @@ PX4IO::ioctl(file *filep, int cmd, unsigned long arg)
ret = dsm_bind_ioctl(arg);
break;
case DSM_BIND_POWER_UP:
io_reg_set(PX4IO_PAGE_SETUP, PX4IO_P_SETUP_DSM, dsm_bind_power_up);
break;
case PWM_SERVO_SET(0) ... PWM_SERVO_SET(PWM_OUTPUT_MAX_CHANNELS - 1): {
/* TODO: we could go lower for e.g. TurboPWM */

Loading…
Cancel
Save