altoslib: Fix EasyMini voltage computations
authorKeith Packard <keithp@keithp.com>
Thu, 3 Apr 2014 05:04:18 +0000 (22:04 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 3 Apr 2014 05:04:18 +0000 (22:04 -0700)
commit21d584b9bf93b96a05ab374105493c0e17df320f
tree92118f82b30eb2b0fbfd8396cadb15d71c63ac39
parentadddad0dd45f67d01487c8dd75b040ca3ab50fe2
altoslib: Fix EasyMini voltage computations

Early Em prototypes had a 3.0V regulator.
Early v1.0 boards measured power past the blocking diode.

Deal with both conditions to try and report more accurate voltages for
EasyMini data.

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