mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Moved include for nRF51822
Moved the include into the right file.
This commit is contained in:
parent
3646c650b6
commit
4cf9f34228
2 changed files with 2 additions and 4 deletions
|
@ -137,7 +137,7 @@ e-mail : support@circuitsathome.com
|
||||||
#define USING_SPI4TEENSY3 0
|
#define USING_SPI4TEENSY3 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ARDUINO_SAM_DUE) && defined(__SAM3X8E__)
|
#if (defined(ARDUINO_SAM_DUE) && defined(__SAM3X8E__)) || defined(RBL_NRF51822)
|
||||||
#include <SPI.h> // Use the Arduino SPI library for the Arduino Due
|
#include <SPI.h> // Use the Arduino SPI library for the Arduino Due
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -27,9 +27,7 @@ e-mail : support@circuitsathome.com
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(RBL_NRF51822)
|
|
||||||
#include "SPI.H"
|
|
||||||
#endif
|
|
||||||
/* SPI initialization */
|
/* SPI initialization */
|
||||||
template< typename SPI_CLK, typename SPI_MOSI, typename SPI_MISO, typename SPI_SS > class SPi {
|
template< typename SPI_CLK, typename SPI_MOSI, typename SPI_MISO, typename SPI_SS > class SPi {
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue