Add conditional, give DUE SPI a unique name, fix compiler warnings (#10168)

This commit is contained in:
Bob-the-Kuhn
2018-03-20 15:53:21 -05:00
committed by Scott Lahteine
parent b5b39af531
commit 7308ef7809
5 changed files with 11 additions and 6 deletions

View File

@ -52,7 +52,7 @@
// Public functions
// --------------------------------------------------------------------------
#if ENABLED(SOFTWARE_SPI)
#if ENABLED(DUE_SOFTWARE_SPI)
// --------------------------------------------------------------------------
// software SPI

View File

@ -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