From ca91cde9eca03d903d16ecb02dddaf9d6b54441b Mon Sep 17 00:00:00 2001 From: Sascha Date: Wed, 6 Jul 2022 00:36:23 +0200 Subject: [PATCH] Update fdrs_globals.h header wrap-up --- fdrs_globals.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fdrs_globals.h b/fdrs_globals.h index 8ffbc49..9a2aeb5 100644 --- a/fdrs_globals.h +++ b/fdrs_globals.h @@ -1,3 +1,6 @@ +// ToDo: refactor the global GLOBALS to FDRS_GLOBALS as GLOBALS is ... well, too global ;) +#ifndef GLOBALS +#define GLOBALS #define GLOBAL_SSID "Your SSID" #define GLOBAL_PASS "Password" #define GLOBAL_MQTT_ADDR "192.168.0.8" @@ -9,4 +12,4 @@ #define GLOBAL_BAND 915E6 //LoRa Frequency Band #define GLOBAL_SF 7 //LoRa Spreading Factor -#define GLOBALS \ No newline at end of file +#endif GLOBALS