diff --git a/ESP-sc-gway/ESP-sc-gway.ino b/ESP-sc-gway/ESP-sc-gway.ino index 9d22cd9..96f4374 100644 --- a/ESP-sc-gway/ESP-sc-gway.ino +++ b/ESP-sc-gway/ESP-sc-gway.ino @@ -76,7 +76,7 @@ extern "C" { #if ESP32_ARCH==1 // IF ESP32 #include "WiFi.h" -#include +#include #include #include #if A_SERVER==1 diff --git a/ESP-sc-gway/_loraFiles.ino b/ESP-sc-gway/_loraFiles.ino index 3918249..7fcbe1c 100644 --- a/ESP-sc-gway/_loraFiles.ino +++ b/ESP-sc-gway/_loraFiles.ino @@ -44,7 +44,7 @@ void id_print (String id, String val) { // ---------------------------------------------------------------------------- int initConfig(struct espGwayConfig *c) { (*c).ch = 0; - (*c).sf = SF8; + (*c).sf = _SPREADING; (*c).debug = 1; (*c).pdebug = P_GUI; (*c).cad = _CAD;