skip SPI config as defaults are used and config doesn't work on Arduino Zero as expected

This commit is contained in:
Matthias Ringwald 2015-06-21 00:40:52 +02:00
parent 840902512d
commit 8c6a668501

View File

@ -69,9 +69,9 @@ static void bt_setup(void){
digitalWrite(PIN_SPI_MOSI, LOW);
digitalWrite(PIN_SHUTDOWN, HIGH);
// SPI.begin();
SPI.setBitOrder(MSBFIRST);
SPI.setDataMode(SPI_MODE0);
// SPI settings are reset in SPI.begin() - calls hang on Arduino Zero, too.
// SPI.setBitOrder(MSBFIRST);
// SPI.setDataMode(SPI_MODE0);
// SPI.end();
}