diff --git a/examples/1_UART_Gateway/fdrs_gateway_config.h b/examples/1_UART_Gateway/fdrs_gateway_config.h index bafb84b..3646bff 100644 --- a/examples/1_UART_Gateway/fdrs_gateway_config.h +++ b/examples/1_UART_Gateway/fdrs_gateway_config.h @@ -29,16 +29,12 @@ //#define USE_LORA //#define USE_WIFI //Used only for MQTT gateway -#define RADIOLIB_MODULE SX1276 - // Neighboring gateway addresses #define ESPNOW_NEIGHBOR_1 0x0E // ESPNOW1 Address #define ESPNOW_NEIGHBOR_2 0x0F // ESPNOW2 Address #define LORA_NEIGHBOR_1 0x02 // LoRa1 Address #define LORA_NEIGHBOR_2 0x0F // LoRa2 Address - - //Pins for UART data interface (ESP32 only) #define RXD2 14 #define TXD2 15 diff --git a/src/fdrs_node.h b/src/fdrs_node.h index 2442965..58b60b6 100644 --- a/src/fdrs_node.h +++ b/src/fdrs_node.h @@ -236,7 +236,7 @@ void handleLoRa(){ } - begin_lora() { + void begin_lora() { // #ifdef ESP32 // SPI.begin(SPI_SCK, SPI_MISO, SPI_MOSI); // #endif