PWM outputs: Allow the new p:PWM_OUT etc params for setting PWM limits via params at boot-time.

This commit is contained in:
Lorenz Meier
2015-06-23 12:30:47 +02:00
committed by tumbili
parent 7b588c5bd0
commit 26c47f25cb
3 changed files with 118 additions and 3 deletions
+6
View File
@@ -634,6 +634,12 @@ Sensors::Sensors() :
(void)param_find("CAL_MAG2_ROT");
(void)param_find("SYS_PARAM_VER");
(void)param_find("SYS_AUTOSTART");
(void)param_find("PWM_MIN");
(void)param_find("PWM_MAX");
(void)param_find("PWM_DISARMED");
(void)param_find("PWM_AUX_MIN");
(void)param_find("PWM_AUX_MAX");
(void)param_find("PWM_AUX_DISARMED");
/* fetch initial parameter values */
parameters_update();