mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-18 19:21:54 +00:00
skip SPI config as defaults are used and config doesn't work on Arduino Zero as expected
This commit is contained in:
parent
840902512d
commit
8c6a668501
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user