From: Keith Packard Date: Tue, 10 Apr 2012 05:22:58 +0000 (-0700) Subject: altos: Add missing parens in ao_ms5607.h X-Git-Tag: 1.0.9.5~56 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=3909fca0a3f918121888a415f9bf9bca99505366 altos: Add missing parens in ao_ms5607.h Signed-off-by: Keith Packard --- 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_ */