diff options
Diffstat (limited to 'nuttx/configs/mirtoo')
-rw-r--r-- | nuttx/configs/mirtoo/README.txt | 2 | ||||
-rw-r--r-- | nuttx/configs/mirtoo/src/up_nsh.c | 2 | ||||
-rw-r--r-- | nuttx/configs/mirtoo/src/up_spi2.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/mirtoo/README.txt b/nuttx/configs/mirtoo/README.txt index e5b33a9b5..c2727c5b5 100644 --- a/nuttx/configs/mirtoo/README.txt +++ b/nuttx/configs/mirtoo/README.txt @@ -588,7 +588,7 @@ Analog Input To intialize and use the PGA117, you to add logic something like the following in your application code: - #include <nuttx/spi.h> + #include <nuttx/spi/spi.h> #include <nuttx/analog/pga11x.h> FAR struct spi_dev_s *spi; diff --git a/nuttx/configs/mirtoo/src/up_nsh.c b/nuttx/configs/mirtoo/src/up_nsh.c index 33e0692e6..482e91445 100644 --- a/nuttx/configs/mirtoo/src/up_nsh.c +++ b/nuttx/configs/mirtoo/src/up_nsh.c @@ -48,7 +48,7 @@ #include <debug.h> #ifdef CONFIG_PIC32MX_SPI2 -# include <nuttx/spi.h> +# include <nuttx/spi/spi.h> # include <nuttx/mtd.h> # include <nuttx/fs/nxffs.h> #endif diff --git a/nuttx/configs/mirtoo/src/up_spi2.c b/nuttx/configs/mirtoo/src/up_spi2.c index 056570710..3add97c03 100644 --- a/nuttx/configs/mirtoo/src/up_spi2.c +++ b/nuttx/configs/mirtoo/src/up_spi2.c @@ -44,7 +44,7 @@ #include <stdbool.h> #include <debug.h> -#include <nuttx/spi.h> +#include <nuttx/spi/spi.h> #include <arch/board/board.h> #include "up_arch.h" @@ -149,7 +149,7 @@ void weak_function pic32mx_spi2initialize(void) * Description: * These external functions must be provided by board-specific logic. They are * implementations of the select, status, and cmddata methods of the SPI interface - * defined by struct spi_ops_s (see include/nuttx/spi.h). All other methods + * defined by struct spi_ops_s (see include/nuttx/spi/spi.h). All other methods * including up_spiinitialize()) are provided by common PIC32MX logic. To use * this common SPI logic on your board: * |