altos: Provide MS5611 configuration option, HAS_MS5611
authorKeith Packard <keithp@keithp.com>
Sat, 29 Sep 2012 05:39:55 +0000 (22:39 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 3 Oct 2012 14:45:30 +0000 (07:45 -0700)
commitfdd08cc093134c5f87dab9533b99a042a699381b
tree2d642710c424348ee33215feb31b742bca0df915
parentdc7216d286cc7fe8007f5208ad97a630166572f3
altos: Provide MS5611 configuration option, HAS_MS5611

MS5611 and MS5607 use slightly different conversion functions. Alas,
there doesn't appear to be a way to tell them apart in software. This
patch adds the necessary conversion changes and makes them depend on a
compile-time configuration option.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_ms5607.c