mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 03:35:20 +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_SPI_MOSI, LOW);
|
||||||
digitalWrite(PIN_SHUTDOWN, HIGH);
|
digitalWrite(PIN_SHUTDOWN, HIGH);
|
||||||
|
|
||||||
// SPI.begin();
|
// SPI settings are reset in SPI.begin() - calls hang on Arduino Zero, too.
|
||||||
SPI.setBitOrder(MSBFIRST);
|
// SPI.setBitOrder(MSBFIRST);
|
||||||
SPI.setDataMode(SPI_MODE0);
|
// SPI.setDataMode(SPI_MODE0);
|
||||||
// SPI.end();
|
// SPI.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user