altos: Allow ms5607 driver to either set ao_sensor_errors or panic
[fw/altos] / src / micropeak / ao_pins.h
index 63e9cb1b26663ce0259d2134003d8fa334b54ae0..2c02f3a3acb34b997d79b5b733741ef30fb91e28 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -31,6 +32,7 @@
 #define HAS_TASK               0
 #define HAS_MS5607             1
 #define HAS_MS5611             0
+#define HAS_SENSOR_ERRORS      0
 #define HAS_EEPROM             0
 #define HAS_BEEP               0
 #define AVR_CLOCK              250000UL