Skip to content

Commit

Permalink
Don't stop the startup script if no external HMC5883 is connected
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Aug 19, 2013
1 parent 00c9b8f commit a95e48c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ROMFS/px4fmu_common/init.d/rc.sensors
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ ms5611 start
adc start

# mag might be external
hmc5883 start
if hmc5883 start
then
echo "using HMC5883"
fi

if mpu6000 start
then
Expand Down

0 comments on commit a95e48c

Please # to comment.