Browse Source

ROMFS: Do only output necessary information on boot

sbg
Lorenz Meier 10 years ago
parent
commit
366c8a9c41
  1. 6
      ROMFS/px4fmu_common/init.d/rc.interface
  2. 1
      ROMFS/px4fmu_common/init.d/rcS

6
ROMFS/px4fmu_common/init.d/rc.interface

@ -10,7 +10,7 @@ then @@ -10,7 +10,7 @@ then
#
set MIXERSD /fs/microsd/etc/mixers/$MIXER.mix
#Use the mixer file from the SD-card if it exists
# Use the mixer file from the SD-card if it exists
if [ -f $MIXERSD ]
then
set MIXER_FILE $MIXERSD
@ -54,7 +54,6 @@ then @@ -54,7 +54,6 @@ then
#
if [ $PWM_RATE != none ]
then
echo "[init] Set PWM rate: $PWM_RATE"
pwm rate -c $PWM_OUTPUTS -r $PWM_RATE
fi
@ -63,17 +62,14 @@ then @@ -63,17 +62,14 @@ then
#
if [ $PWM_DISARMED != none ]
then
echo "[init] Set PWM disarmed: $PWM_DISARMED"
pwm disarmed -c $PWM_OUTPUTS -p $PWM_DISARMED
fi
if [ $PWM_MIN != none ]
then
echo "[init] Set PWM min: $PWM_MIN"
pwm min -c $PWM_OUTPUTS -p $PWM_MIN
fi
if [ $PWM_MAX != none ]
then
echo "[init] Set PWM max: $PWM_MAX"
pwm max -c $PWM_OUTPUTS -p $PWM_MAX
fi
fi

1
ROMFS/px4fmu_common/init.d/rcS

@ -444,7 +444,6 @@ then @@ -444,7 +444,6 @@ then
if [ $GPS == yes ]
then
echo "[init] Start GPS"
if [ $GPS_FAKE == yes ]
then
echo "[init] Faking GPS"

Loading…
Cancel
Save