altoslib: Fix Idle Monitor on TeleMega v3
authorKeith Packard <keithp@keithp.com>
Sat, 28 Apr 2018 19:03:10 +0000 (12:03 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 28 Apr 2018 19:03:10 +0000 (12:03 -0700)
commit312f303be7f2a641020903ed2daccb8a4d67ec42
treee1e9bfd96d85e4f835d7032216fd0b242b44d0eb
parent0dfaecc25a12da57248541a66dd5118161616cce
altoslib: Fix Idle Monitor on TeleMega v3

The new IMU includes a mag sensor, and there's no separate mag sensor.

Add support for reading the mag sensor values from the IMU, separate
out v3 from previous TeleMega versions so that the code can stop
trying to read the mag sensor.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosIMU.java
altoslib/AltosIdleFetch.java