mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 12:20:35 +08:00
px4io: include board_config.h
without this we don't get the I2C interface built for PX4IO
This commit is contained in:
committed by
Lorenz Meier
parent
c344fe5306
commit
46fd904b5a
@@ -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 */
|
||||
#endif /* PX4_I2C_OBDEV_PX4IO */
|
||||
|
||||
Reference in New Issue
Block a user