diff --git a/esp-vent-main/inc/common_control_values.h b/esp-vent-main/inc/common_control_values.h index 85d80e8..ece8273 100644 --- a/esp-vent-main/inc/common_control_values.h +++ b/esp-vent-main/inc/common_control_values.h @@ -8,6 +8,11 @@ #ifndef COMMON_CONTROL_VALUES_H_ #define COMMON_CONTROL_VALUES_H_ +#define SSID "SmartIotMQTT" +#define PASSWORD "SmartIot" +#define BROKER_IP "192.168.1.254" +#define BROKER_PORT 1883 + enum _global_values { LCD_SIZE = 16, diff --git a/esp-vent-main/src/esp-vent-main.cpp b/esp-vent-main/src/esp-vent-main.cpp index 0988fce..63d570d 100644 --- a/esp-vent-main/src/esp-vent-main.cpp +++ b/esp-vent-main/src/esp-vent-main.cpp @@ -15,17 +15,11 @@ #include "StateHandler/StateHandler.h" #include "SwitchController.h" #include "Timer.h" -#include #include "board.h" #include "chip.h" #include "common_control_values.h" #include -#define SSID "SmartIotMQTT" -#define PASSWORD "SmartIot" -#define BROKER_IP "192.168.1.254" -#define BROKER_PORT 1883 - int main (void) { @@ -91,4 +85,3 @@ main (void) return 0; } -