Merge pull request #6954 from Bob-the-Kuhn/Software-SPI-for-all-CPUs

SD card soft SPI - allow all CPU families to use it
This commit is contained in:
Bob-the-Kuhn 2017-06-15 01:03:39 -05:00 committed by GitHub
commit b3338ccb01

View File

@ -125,7 +125,7 @@ uint8_t const SD_CARD_TYPE_SDHC = 3;
* define SOFTWARE_SPI to use bit-bang SPI
*/
//------------------------------------------------------------------------------
#if MEGA_SOFT_SPI && (defined(__AVR_ATmega1280__)||defined(__AVR_ATmega2560__))
#if MEGA_SOFT_SPI
#define SOFTWARE_SPI
#elif USE_SOFTWARE_SPI
#define SOFTWARE_SPI