Linux: Default SPI driver set to SPIDEV (#847)

This commit is contained in:
Marcelo Aquino
2017-05-16 08:00:24 +02:00
committed by Olivier
parent 34444a48b3
commit 14766382d3
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ SoftSPI<MY_SOFT_SPI_MISO_PIN, MY_SOFT_SPI_MOSI_PIN, MY_SOFT_SPI_SCK_PIN, RFM69_S
#define _SPI SPI
#endif
#else
#if defined(__arm__)
#if defined(__arm__) || defined(__linux__)
#include <SPI.h>
#else
extern HardwareSPI SPI; //!< SPI
+1 -1
View File
@@ -120,7 +120,7 @@ _SPI;
#define _SPI SPI //!< SPI
#endif
#else
#if defined(__arm__)
#if defined(__arm__) || defined(__linux__)
#include <SPI.h>
#else
extern HardwareSPI SPI; //!< SPI