diff --git a/src/board.h b/src/board.h index ff7158457..9896b1a7d 100755 --- a/src/board.h +++ b/src/board.h @@ -120,7 +120,7 @@ typedef struct baro_t #define SENSORS_SET (SENSOR_ACC) -#endif +#else #ifdef OLIMEXINO // OLIMEXINO @@ -157,6 +157,7 @@ typedef struct baro_t #define SENSORS_SET (SENSOR_ACC | SENSOR_BARO | SENSOR_MAG) +#endif #endif // Helpful macros @@ -187,7 +188,7 @@ typedef struct baro_t #include "drv_i2c.h" #include "drv_pwm.h" #include "drv_uart.h" -#endif +#else #ifdef OLIMEXINO // OLIMEXINO @@ -220,3 +221,4 @@ typedef struct baro_t #include "drv_hcsr04.h" #endif +#endif