remove SPI set pins
This commit is contained in:
1 parent
f328e2bd80
commit
a8c37d0358
1 file changed
-3
@@ -21,10 +21,7 @@ DISPLAY_CLASS display;
|
||||
bool radio_init()
|
||||
{
|
||||
rtc_clock.begin(Wire);
|
||||
|
||||
SPI.setPins(P_LORA_MISO, P_LORA_SCLK, P_LORA_MOSI);
|
||||
SPI.begin();
|
||||
|
||||
return radio.std_init(&SPI);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user