summaryrefslogtreecommitdiff
path: root/src/microsplash
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-07-15 13:26:30 -0700
committerKeith Packard <keithp@keithp.com>2019-07-15 13:26:30 -0700
commit245a49a85dd7b6a7cb9ec36ad02f6bb66e42f4e2 (patch)
tree1b1950bc3c3272b237961cdeba3dd3d3b5c18961 /src/microsplash
parent98f7c1c116aab672a29db1f81213cabe2d72ae16 (diff)
altos: Allow ms5607 driver to either set ao_sensor_errors or panic
Products that want to remain usable (over USB) after a sensor failure don't want to panic when the ms5607 fails, but products with limited ROM space don't want to have extra code to check for the sensor failure and panic. Change the MS5607 driver to allow either option, and then make the micropeak based devices use it. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/microsplash')
-rw-r--r--src/microsplash/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/microsplash/ao_pins.h b/src/microsplash/ao_pins.h
index 50a99346..0461b20e 100644
--- a/src/microsplash/ao_pins.h
+++ b/src/microsplash/ao_pins.h
@@ -31,6 +31,7 @@
#define HAS_SERIAL_1 0
#define HAS_TASK 0
#define HAS_MS5607 1
+#define HAS_SENSOR_ERRORS 0
#define HAS_MS5611 0
#define HAS_EEPROM 0
#define HAS_BEEP 0