From 4a20e7ff498b065d717e7146298f07d942313331 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Fri, 23 Aug 2013 16:43:14 +0200 Subject: [PATCH] [baro] ms5611_i2c: ifndef around MS5611_SLAVE_ADDR --- sw/airborne/subsystems/sensors/baro_ms5611_i2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sw/airborne/subsystems/sensors/baro_ms5611_i2c.c b/sw/airborne/subsystems/sensors/baro_ms5611_i2c.c index a301213aab..a7aa03370d 100644 --- a/sw/airborne/subsystems/sensors/baro_ms5611_i2c.c +++ b/sw/airborne/subsystems/sensors/baro_ms5611_i2c.c @@ -44,8 +44,9 @@ * * Note: Aspirin 2.1 has CSB bound to GND. */ +#ifndef MS5611_SLAVE_ADDR #define MS5611_SLAVE_ADDR 0xEE - +#endif #ifdef DEBUG