mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 05:43:34 +08:00
VTOL: add parameter to set the PWM_OUTPUT_DEVICE_PATH (#14732)
The device path is needed to apply PWM limits on the motors that are not used for FW flight (switch them off). With this parameter the device path can be set to either IO or FMU, depending on whether the motors are on the IO or FMU port. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -61,6 +61,7 @@ __BEGIN_DECLS
|
||||
*/
|
||||
#define PWM_OUTPUT_BASE_DEVICE_PATH "/dev/pwm_output"
|
||||
#define PWM_OUTPUT0_DEVICE_PATH "/dev/pwm_output0"
|
||||
#define PWM_OUTPUT1_DEVICE_PATH "/dev/pwm_output1"
|
||||
|
||||
#define PWM_OUTPUT_MAX_CHANNELS 16
|
||||
|
||||
|
||||
Reference in New Issue
Block a user