projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commented out duplicate strings
[fw/altos]
/
src
/
drivers
/
ao_ms5607.c
diff --git
a/src/drivers/ao_ms5607.c
b/src/drivers/ao_ms5607.c
index febe01117dbc614e11d309327d830d660f8a2e86..1ebba3e9c6f99ccfb0fd7a7bbebd42b1e7da2c58 100644
(file)
--- a/
src/drivers/ao_ms5607.c
+++ b/
src/drivers/ao_ms5607.c
@@
-115,7
+115,7
@@
ao_ms5607_prom_read(struct ao_ms5607_prom *prom)
if (!ao_ms5607_prom_valid((uint8_t *) prom)) {
#if HAS_SENSOR_ERRORS
if (!ao_ms5607_prom_valid((uint8_t *) prom)) {
#if HAS_SENSOR_ERRORS
-
ao_sensor_errors = 1
;
+
AO_SENSOR_ERROR(AO_DATA_MS5607)
;
#else
ao_panic(AO_PANIC_SELF_TEST_MS5607);
#endif
#else
ao_panic(AO_PANIC_SELF_TEST_MS5607);
#endif