migrate mqtt config to struct
This commit is contained in:
parent
2dee25276c
commit
71475ef2f1
7 changed files with 125 additions and 82 deletions
11
Template Project/lib/ESPMegaPRO/TimeStructure.hpp
Normal file
11
Template Project/lib/ESPMegaPRO/TimeStructure.hpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
struct rtctime_t {
|
||||
uint8_t hours;
|
||||
uint8_t minutes;
|
||||
uint8_t seconds;
|
||||
uint8_t day;
|
||||
uint8_t month;
|
||||
uint16_t year;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue