main: move mqtt defines in common_values

This commit is contained in:
Vasily Davydov 2022-10-26 23:55:08 +03:00
parent 4b0b4ab2c9
commit 8f54fe85aa
2 changed files with 5 additions and 7 deletions

View File

@ -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,

View File

@ -15,17 +15,11 @@
#include "StateHandler/StateHandler.h"
#include "SwitchController.h"
#include "Timer.h"
#include <cr_section_macros.h>
#include "board.h"
#include "chip.h"
#include "common_control_values.h"
#include <cr_section_macros.h>
#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;
}