fixed spi

This commit is contained in:
Timm Bogner 2022-06-30 14:45:48 -05:00
parent 21c1b4be59
commit 5331eb479a
3 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ void beginFDRS() {
DBG("Initializing LoRa!");
DBG(BAND);
DBG(SF);
#ifndef __AVR__
#ifdef ESP32
SPI.begin(SCK, MISO, MOSI, SS);
#endif
LoRa.setPins(SS, RST, DIO0);

View File

@ -116,7 +116,7 @@ void beginFDRS() {
DBG("Initializing LoRa!");
DBG(BAND);
DBG(SF);
#ifndef __AVR__
#ifdef ESP32
SPI.begin(SCK, MISO, MOSI, SS);
#endif
LoRa.setPins(SS, RST, DIO0);

View File

@ -116,7 +116,7 @@ void beginFDRS() {
DBG("Initializing LoRa!");
DBG(BAND);
DBG(SF);
#ifndef __AVR__
#ifdef ESP32
SPI.begin(SCK, MISO, MOSI, SS);
#endif
LoRa.setPins(SS, RST, DIO0);