altoslib: Fix 8 to 12 bit conversion for Mega pyro voltage data
authorKeith Packard <keithp@keithp.com>
Sun, 10 Dec 2017 00:57:35 +0000 (16:57 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 10 Dec 2017 00:57:35 +0000 (16:57 -0800)
commit111622dbcd56c225a9d5ace9f0ef745e62f8a94c
tree968252a416bd02e2c0f27fff95d9d79798c6ea52
parent1133130986a78628ea297ce1f6a023baf4382d8f
altoslib: Fix 8 to 12 bit conversion for Mega pyro voltage data

The conversion was losing the replicated top four bits by shifting by
the wrong amount.

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