diff --git a/boards/bitcraze/crazyflie/src/board_config.h b/boards/bitcraze/crazyflie/src/board_config.h index 5b9529a682..b69a021a15 100644 --- a/boards/bitcraze/crazyflie/src/board_config.h +++ b/boards/bitcraze/crazyflie/src/board_config.h @@ -140,15 +140,7 @@ #define PX4_PWM_ALTERNATE_RANGES #define PWM_LOWEST_MIN 0 -#define PWM_MOTOR_OFF 0 -#define PWM_SERVO_STOP 0 -#define PWM_DEFAULT_MIN 20 -#define PWM_HIGHEST_MIN 0 #define PWM_HIGHEST_MAX 255 -#define PWM_DEFAULT_MAX 255 -#define PWM_LOWEST_MAX 255 -#define PWM_DEFAULT_TRIM 1500 - /* High-resolution timer */ #define HRT_TIMER 8 /* use timer8 for the HRT */ diff --git a/boards/bitcraze/crazyflie21/src/board_config.h b/boards/bitcraze/crazyflie21/src/board_config.h index a8ee6029c2..b636bfd08c 100644 --- a/boards/bitcraze/crazyflie21/src/board_config.h +++ b/boards/bitcraze/crazyflie21/src/board_config.h @@ -141,15 +141,7 @@ #define PX4_PWM_ALTERNATE_RANGES #define PWM_LOWEST_MIN 0 -#define PWM_MOTOR_OFF 0 -#define PWM_SERVO_STOP 0 -#define PWM_DEFAULT_MIN 20 -#define PWM_HIGHEST_MIN 0 #define PWM_HIGHEST_MAX 255 -#define PWM_DEFAULT_MAX 255 -#define PWM_LOWEST_MAX 255 -#define PWM_DEFAULT_TRIM 1500 - /* High-resolution timer */ #define HRT_TIMER 8 /* use timer8 for the HRT */ diff --git a/src/drivers/drv_pwm_output.h b/src/drivers/drv_pwm_output.h index 13251bfebd..6aedf298a3 100644 --- a/src/drivers/drv_pwm_output.h +++ b/src/drivers/drv_pwm_output.h @@ -61,41 +61,11 @@ __BEGIN_DECLS */ #define PWM_LOWEST_MIN 90 -/** - * Default value for a shutdown motor - */ -#define PWM_MOTOR_OFF 900 - -/** - * Default minimum PWM in us - */ -#define PWM_DEFAULT_MIN 1000 - -/** - * Highest PWM allowed as the minimum PWM - */ -#define PWM_HIGHEST_MIN 1600 - /** * Highest maximum PWM in us */ #define PWM_HIGHEST_MAX 2500 -/** - * Default maximum PWM in us - */ -#define PWM_DEFAULT_MAX 2000 - -/** - * Default trim PWM in us - */ -#define PWM_DEFAULT_TRIM 0 - -/** - * Lowest PWM allowed as the maximum PWM - */ -#define PWM_LOWEST_MAX 200 - #endif // not PX4_PWM_ALTERNATE_RANGES /**