aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-11-12 09:01:46 +0100
committerDavid Sidrane <david_s5@nscdg.com>2015-04-07 06:07:30 -1000
commit606f745bac70c692e3b130b78dcd59c492558c87 (patch)
tree61a208808485fe18f616532aa84116d1e1178ec4
parent5c84668d6dafadb1e1f58a1e4e1e3005d3048c11 (diff)
downloadpx4-firmware-606f745bac70c692e3b130b78dcd59c492558c87.tar.gz
px4-firmware-606f745bac70c692e3b130b78dcd59c492558c87.tar.bz2
px4-firmware-606f745bac70c692e3b130b78dcd59c492558c87.zip
MTD: Update header locations
-rw-r--r--src/systemcmds/mtd/24xxxx_mtd.c2
-rw-r--r--src/systemcmds/mtd/mtd.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/systemcmds/mtd/24xxxx_mtd.c b/src/systemcmds/mtd/24xxxx_mtd.c
index f85ed8e2d..d0407f5aa 100644
--- a/src/systemcmds/mtd/24xxxx_mtd.c
+++ b/src/systemcmds/mtd/24xxxx_mtd.c
@@ -64,7 +64,7 @@
#include <nuttx/kmalloc.h>
#include <nuttx/fs/ioctl.h>
#include <nuttx/i2c.h>
-#include <nuttx/mtd.h>
+#include <nuttx/mtd/mtd.h>
#include "systemlib/perf_counter.h"
diff --git a/src/systemcmds/mtd/mtd.c b/src/systemcmds/mtd/mtd.c
index a925cdd40..16bfb294f 100644
--- a/src/systemcmds/mtd/mtd.c
+++ b/src/systemcmds/mtd/mtd.c
@@ -51,8 +51,8 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
-#include <nuttx/spi.h>
-#include <nuttx/mtd.h>
+#include <nuttx/spi/spi.h>
+#include <nuttx/mtd/mtd.h>
#include <nuttx/fs/nxffs.h>
#include <nuttx/fs/ioctl.h>