mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 15:33:34 +08:00
PWM: transition PWM_{MIN,MAX,DISARMED,RATE} -> PWM_MAIN
This commit is contained in:
committed by
Lorenz Meier
parent
8b8adbf48e
commit
d1a3590aac
@@ -559,9 +559,9 @@ int linux_pwm_out_main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/** gets the parameters for the esc's pwm */
|
||||
param_get(param_find("PWM_DISARMED"), &linux_pwm_out::_pwm_disarmed);
|
||||
param_get(param_find("PWM_MIN"), &linux_pwm_out::_pwm_min);
|
||||
param_get(param_find("PWM_MAX"), &linux_pwm_out::_pwm_max);
|
||||
param_get(param_find("PWM_MAIN_DISARM"), &linux_pwm_out::_pwm_disarmed);
|
||||
param_get(param_find("PWM_MAIN_MIN"), &linux_pwm_out::_pwm_min);
|
||||
param_get(param_find("PWM_MAIN_MAX"), &linux_pwm_out::_pwm_max);
|
||||
|
||||
/*
|
||||
* Start/load the driver.
|
||||
|
||||
Reference in New Issue
Block a user