summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-04-09 22:22:58 -0700
committerKeith Packard <keithp@keithp.com>2012-04-09 22:22:58 -0700
commit3909fca0a3f918121888a415f9bf9bca99505366 (patch)
treea322f9dc3b97b5d578ccc6edc47d6c8c13ed5740 /src
parentc5bbfc7244faaae41c7b581644c3c253e9b7f462 (diff)
altos: Add missing parens in ao_ms5607.h
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/ao_ms5607.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_ms5607.h b/src/drivers/ao_ms5607.h
index 6c245368..489190a4 100644
--- a/src/drivers/ao_ms5607.h
+++ b/src/drivers/ao_ms5607.h
@@ -33,6 +33,6 @@
#define AO_MS5607_CONVERT_D2_4096 0x58
#define AO_MS5607_ADC_READ 0x00
-#define AO_MS5607_PROM_READ(ad) 0xA0 | ((ad) << 1)
+#define AO_MS5607_PROM_READ(ad) (0xA0 | ((ad) << 1))
#endif /* _AO_MS5607_H_ */