Add conditional, give DUE SPI a unique name, fix compiler warnings (#10168)
This commit is contained in:
committed by
Scott Lahteine
parent
b5b39af531
commit
7308ef7809
@ -52,7 +52,7 @@
|
||||
// Public functions
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
#if ENABLED(SOFTWARE_SPI)
|
||||
#if ENABLED(DUE_SOFTWARE_SPI)
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// software SPI
|
||||
|
@ -47,7 +47,7 @@
|
||||
#define MOSI_PIN 75
|
||||
#else
|
||||
// defaults
|
||||
#define SOFTWARE_SPI
|
||||
#define DUE_SOFTWARE_SPI
|
||||
#define SCK_PIN 52
|
||||
#define MISO_PIN 50
|
||||
#define MOSI_PIN 51
|
||||
|
Reference in New Issue
Block a user