aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/mb12xx
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-08-02 22:34:55 -0700
committerpx4dev <px4@purgatory.org>2013-08-02 22:34:55 -0700
commit9d6ec6b3655fcd902be7a7fe4f2a24033c714afb (patch)
tree6093f77bca4fce924d3cce0e4ed065344a063f82 /src/drivers/mb12xx
parenta9c1882ea01aa0cf00448bc874c97087853bb13c (diff)
downloadpx4-firmware-9d6ec6b3655fcd902be7a7fe4f2a24033c714afb.tar.gz
px4-firmware-9d6ec6b3655fcd902be7a7fe4f2a24033c714afb.tar.bz2
px4-firmware-9d6ec6b3655fcd902be7a7fe4f2a24033c714afb.zip
Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
Rename some directories that got left behind in the great board renaming.
Diffstat (limited to 'src/drivers/mb12xx')
-rw-r--r--src/drivers/mb12xx/mb12xx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/mb12xx/mb12xx.cpp b/src/drivers/mb12xx/mb12xx.cpp
index 397686e8b..c5f49fb36 100644
--- a/src/drivers/mb12xx/mb12xx.cpp
+++ b/src/drivers/mb12xx/mb12xx.cpp
@@ -59,8 +59,6 @@
#include <nuttx/wqueue.h>
#include <nuttx/clock.h>
-#include <arch/board/board.h>
-
#include <systemlib/perf_counter.h>
#include <systemlib/err.h>
@@ -70,6 +68,8 @@
#include <uORB/uORB.h>
#include <uORB/topics/subsystem_info.h>
+#include <board_config.h>
+
/* Configuration Constants */
#define MB12XX_BUS PX4_I2C_BUS_EXPANSION
#define MB12XX_BASEADDR 0x70 /* 7-bit address. 8-bit address is 0xE0 */