Skip to content

Commit

Permalink
Changed the startup script for the mag. Fixing Issue #39
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Guscetti authored and LorenzMeier committed Feb 6, 2017
1 parent 163ce8e commit 4800b55
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ROMFS/tap_common/init.d/rc.sensors
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ then
fi

# External I2C bus
if hmc5883 -C -T -X start
if hmc5883 -C -T -X start -R8
then
param set CAL_MAG0_ROT 8
fi

# External I2C bus
if ist8310 -C start
then
param set CAL_MAG0_ROT 8
fi

# Internal I2C bus
Expand Down

0 comments on commit 4800b55

Please sign in to comment.