mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
fixed macro names
This commit is contained in:
parent
e74c7f22fe
commit
64eb35a918
@ -625,10 +625,10 @@ void begin_espnow() {
|
|||||||
void begin_lora(){
|
void begin_lora(){
|
||||||
#ifdef USE_LORA
|
#ifdef USE_LORA
|
||||||
DBG("Initializing LoRa!");
|
DBG("Initializing LoRa!");
|
||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
SPI.begin(SCK, MISO, MOSI);
|
SPI.begin(SPI_SCK, SPI_MISO, SPI_MOSI);
|
||||||
#endif
|
#endif
|
||||||
LoRa.setPins(SS, RST, DIO0);
|
LoRa.setPins(LORA_SS, LORA_RST, LORA_DIO0);
|
||||||
if (!LoRa.begin(FDRS_BAND)) {
|
if (!LoRa.begin(FDRS_BAND)) {
|
||||||
DBG(" Initialization failed!");
|
DBG(" Initialization failed!");
|
||||||
while (1);
|
while (1);
|
||||||
|
Loading…
Reference in New Issue
Block a user