altoslib: Store MS5607 data in AltosConfigData for use by AltosMs5607
authorKeith Packard <keithp@keithp.com>
Fri, 6 Feb 2015 12:45:17 +0000 (04:45 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 6 Feb 2015 12:45:17 +0000 (04:45 -0800)
commit66e7a8081c07d0d96a31ae34963d430f06dccdfb
treedb49f2712df6883cb4049f84f0576ad28156287e
parent14d524782af4f06d7f3722dcc852772ec493c2cc
altoslib: Store MS5607 data in AltosConfigData for use by AltosMs5607

When doing 'Monitor Idle', we fetch new config data each iteration and
pass that to each of the readers, including ms5607. Instead of
re-fetching the config data there, just store the ms5607 parameters
when we fetch it the first time and copy it over.

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