main: move mqtt defines in common_values
This commit is contained in:
parent
4b0b4ab2c9
commit
8f54fe85aa
@ -8,6 +8,11 @@
|
|||||||
#ifndef COMMON_CONTROL_VALUES_H_
|
#ifndef COMMON_CONTROL_VALUES_H_
|
||||||
#define 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
|
enum _global_values
|
||||||
{
|
{
|
||||||
LCD_SIZE = 16,
|
LCD_SIZE = 16,
|
||||||
|
|||||||
@ -15,17 +15,11 @@
|
|||||||
#include "StateHandler/StateHandler.h"
|
#include "StateHandler/StateHandler.h"
|
||||||
#include "SwitchController.h"
|
#include "SwitchController.h"
|
||||||
#include "Timer.h"
|
#include "Timer.h"
|
||||||
#include <cr_section_macros.h>
|
|
||||||
#include "board.h"
|
#include "board.h"
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "common_control_values.h"
|
#include "common_control_values.h"
|
||||||
#include <cr_section_macros.h>
|
#include <cr_section_macros.h>
|
||||||
|
|
||||||
#define SSID "SmartIotMQTT"
|
|
||||||
#define PASSWORD "SmartIot"
|
|
||||||
#define BROKER_IP "192.168.1.254"
|
|
||||||
#define BROKER_PORT 1883
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (void)
|
main (void)
|
||||||
{
|
{
|
||||||
@ -91,4 +85,3 @@ main (void)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user