diff --git a/libraries/SPI/SPI.cpp b/libraries/SPI/SPI.cpp index ad28b3735..6b34e13de 100644 --- a/libraries/SPI/SPI.cpp +++ b/libraries/SPI/SPI.cpp @@ -49,6 +49,7 @@ static inline SercomSpiClockMode getDataMode(SPISettings& settings) { } SPIClass::SPIClass(SERCOM *p_sercom, uint8_t uc_pinMISO, uint8_t uc_pinSCK, uint8_t uc_pinMOSI, SercomSpiTXPad PadTx, SercomRXPad PadRx) +: settings(0, MSBFIRST, SPI_MODE0) { initialized = false; assert(p_sercom != NULL);