diff options
author | marco <marco@marcos-mbp.bauer.loc> | 2013-11-11 20:57:03 +0100 |
---|---|---|
committer | marco <marco@marcos-mbp.bauer.loc> | 2013-11-11 20:57:03 +0100 |
commit | c29f378e013f20093a1426df22d96be3868c24c6 (patch) | |
tree | eca321dc8d938284f0d91d48052aecd61119f146 /ROMFS/px4fmu_common/init.d/rc.custom_dji_f330_mkblctrl | |
parent | a1398c991ede8269d27f5798ea137a43846e7c9f (diff) | |
download | px4-firmware-c29f378e013f20093a1426df22d96be3868c24c6.tar.gz px4-firmware-c29f378e013f20093a1426df22d96be3868c24c6.tar.bz2 px4-firmware-c29f378e013f20093a1426df22d96be3868c24c6.zip |
mkblctrl startup script changed
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.custom_dji_f330_mkblctrl')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.custom_dji_f330_mkblctrl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.custom_dji_f330_mkblctrl b/ROMFS/px4fmu_common/init.d/rc.custom_dji_f330_mkblctrl index 4686382ca..2fd0200a2 100644 --- a/ROMFS/px4fmu_common/init.d/rc.custom_dji_f330_mkblctrl +++ b/ROMFS/px4fmu_common/init.d/rc.custom_dji_f330_mkblctrl @@ -105,9 +105,12 @@ fi # # Set disarmed, min and max PWM signals # -pwm disarmed -c 1234 -p 900 -pwm min -c 1234 -p 1200 -pwm max -c 1234 -p 1800 +if [ -f /dev/pwm_output ] +then + #pwm disarmed -c 1234 -p 900 + pwm min -c 1234 -p 1200 + pwm max -c 1234 -p 1800 +fi # # Start common for all multirotors apps |