diff options
author | Andrew Tridgell <tridge@samba.org> | 2013-08-06 10:30:32 +1000 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-06 09:21:59 +0200 |
commit | 46fd904b5a6002f2fea0495db88c44f3c6a6ee38 (patch) | |
tree | cd30ad3a2a0250a214de93393eba7418ad98418e /src/drivers/px4io | |
parent | c344fe5306081753512505a0797c8259838fa96b (diff) | |
download | px4-firmware-46fd904b5a6002f2fea0495db88c44f3c6a6ee38.tar.gz px4-firmware-46fd904b5a6002f2fea0495db88c44f3c6a6ee38.tar.bz2 px4-firmware-46fd904b5a6002f2fea0495db88c44f3c6a6ee38.zip |
px4io: include board_config.h
without this we don't get the I2C interface built for PX4IO
Diffstat (limited to 'src/drivers/px4io')
-rw-r--r-- | src/drivers/px4io/px4io_i2c.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/px4io/px4io_i2c.cpp b/src/drivers/px4io/px4io_i2c.cpp index e0c3e5608..19776c40a 100644 --- a/src/drivers/px4io/px4io_i2c.cpp +++ b/src/drivers/px4io/px4io_i2c.cpp @@ -49,6 +49,7 @@ #include <unistd.h> #include <arch/board/board.h> +#include <board_config.h> #include <drivers/device/i2c.h> @@ -165,4 +166,4 @@ PX4IO_I2C::read(unsigned address, void *data, unsigned count) return ret; } -#endif /* PX4_I2C_OBDEV_PX4IO */
\ No newline at end of file +#endif /* PX4_I2C_OBDEV_PX4IO */ |