mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
1 mb compiling version
This commit is contained in:
@@ -41,14 +41,18 @@ void setup() {
|
||||
setChipId();
|
||||
fileSystemInit();
|
||||
loadConfig();
|
||||
#ifdef uartEnable
|
||||
uartInit();
|
||||
#endif
|
||||
clockInit();
|
||||
timeInit();
|
||||
sensorsInit(); //Will be remooved
|
||||
itemsListInit();
|
||||
espInit();
|
||||
routerConnect();
|
||||
#ifdef telegram
|
||||
telegramInit();
|
||||
#endif
|
||||
uptime_init();
|
||||
upgradeInit();
|
||||
HttpServer::init();
|
||||
@@ -91,9 +95,13 @@ void loop() {
|
||||
myNotAsyncActions->loop();
|
||||
ts.update();
|
||||
|
||||
#ifdef telegram
|
||||
handleTelegram();
|
||||
#endif
|
||||
|
||||
#ifdef uartEnable
|
||||
uartHandle();
|
||||
#endif
|
||||
|
||||
if (myLogging != nullptr) {
|
||||
for (unsigned int i = 0; i < myLogging->size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user