mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Typos with Asinc and \ in path
This commit is contained in:
@@ -1,31 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include <Arduino.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
typedef std::function<void(void*)> NotAsincCb;
|
|
||||||
|
|
||||||
struct NotAsincItem {
|
|
||||||
bool test;
|
|
||||||
NotAsincCb cb;
|
|
||||||
void * cb_arg;
|
|
||||||
volatile bool is_used = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
class NotAsinc {
|
|
||||||
private:
|
|
||||||
uint8_t size;
|
|
||||||
uint8_t task = 0;
|
|
||||||
NotAsincItem* items = NULL;
|
|
||||||
void handle(NotAsincCb f, void* arg);
|
|
||||||
|
|
||||||
public:
|
|
||||||
NotAsinc(uint8_t size);
|
|
||||||
~NotAsinc();
|
|
||||||
|
|
||||||
void add(uint8_t i, NotAsincCb, void* arg);
|
|
||||||
void make(uint8_t task);
|
|
||||||
void loop();
|
|
||||||
};
|
|
||||||
extern NotAsinc* myNotAsincActions;
|
|
||||||
32
include/Class/NotAsync.h
Normal file
32
include/Class/NotAsync.h
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <Arduino.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include <functional>
|
||||||
|
|
||||||
|
typedef std::function<void(void*)> NotAsyncCb;
|
||||||
|
|
||||||
|
struct NotAsyncItem {
|
||||||
|
bool test;
|
||||||
|
NotAsyncCb cb;
|
||||||
|
void* cb_arg;
|
||||||
|
volatile bool is_used = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
class NotAsync {
|
||||||
|
private:
|
||||||
|
uint8_t size;
|
||||||
|
uint8_t task = 0;
|
||||||
|
NotAsyncItem* items = NULL;
|
||||||
|
void handle(NotAsyncCb f, void* arg);
|
||||||
|
|
||||||
|
public:
|
||||||
|
NotAsync(uint8_t size);
|
||||||
|
~NotAsync();
|
||||||
|
|
||||||
|
void add(uint8_t i, NotAsyncCb, void* arg);
|
||||||
|
void make(uint8_t task);
|
||||||
|
void loop();
|
||||||
|
};
|
||||||
|
|
||||||
|
extern NotAsync* myNotAsyncActions;
|
||||||
@@ -96,7 +96,7 @@ enum TimerTask_t { WIFI_SCAN,
|
|||||||
UDP_DB,
|
UDP_DB,
|
||||||
TEST };
|
TEST };
|
||||||
|
|
||||||
enum notAsincActions {
|
enum NotAsyncActions {
|
||||||
do_ZERO,
|
do_ZERO,
|
||||||
do_UPGRADE,
|
do_UPGRADE,
|
||||||
do_GETLASTVERSION,
|
do_GETLASTVERSION,
|
||||||
|
|||||||
@@ -13,13 +13,13 @@
|
|||||||
#include "Clock.h"
|
#include "Clock.h"
|
||||||
|
|
||||||
#include "MqttClient.h"
|
#include "MqttClient.h"
|
||||||
#include "Utils\FileUtils.h"
|
#include "Utils/FileUtils.h"
|
||||||
#include "Utils\JsonUtils.h"
|
#include "Utils/JsonUtils.h"
|
||||||
#include "Utils\StringUtils.h"
|
#include "Utils/StringUtils.h"
|
||||||
#include "Utils\SysUtils.h"
|
#include "Utils/SysUtils.h"
|
||||||
#include "Utils\PrintMessage.h"
|
#include "Utils/PrintMessage.h"
|
||||||
#include "Utils\WiFiUtils.h"
|
#include "Utils/WiFiUtils.h"
|
||||||
#include "Utils\SerialPrint.h"
|
#include "Utils/SerialPrint.h"
|
||||||
|
|
||||||
#include <Adafruit_BME280.h>
|
#include <Adafruit_BME280.h>
|
||||||
#include <Adafruit_BMP280.h>
|
#include <Adafruit_BMP280.h>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include "Utils\StringUtils.h"
|
#include "Utils/StringUtils.h"
|
||||||
#include "Utils\TimeUtils.h"
|
#include "Utils/TimeUtils.h"
|
||||||
#include "Errors.h"
|
#include "Errors.h"
|
||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ lib_deps_external =
|
|||||||
adafruit/Adafruit BMP280 Library
|
adafruit/Adafruit BMP280 Library
|
||||||
adafruit/Adafruit BME280 Library
|
adafruit/Adafruit BME280 Library
|
||||||
milesburton/DallasTemperature
|
milesburton/DallasTemperature
|
||||||
me-no-dev/ESPAsyncUDP
|
|
||||||
lib_deps_internal =
|
lib_deps_internal =
|
||||||
ESP Async WebServer
|
ESP Async WebServer
|
||||||
GyverFilters
|
GyverFilters
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#include "Bus.h"
|
#include "Bus.h"
|
||||||
#include "Class/NotAsinc.h"
|
#include "Class/NotAsync.h"
|
||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
|
|
||||||
void busInit() {
|
void busInit() {
|
||||||
myNotAsincActions->add(
|
myNotAsyncActions->add(
|
||||||
do_BUSSCAN, [&](void*) {
|
do_BUSSCAN, [&](void*) {
|
||||||
String tmp = i2c_scan();
|
String tmp = i2c_scan();
|
||||||
if (tmp == "error") {
|
if (tmp == "error") {
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
#include "Class/NotAsinc.h"
|
|
||||||
|
|
||||||
NotAsinc::NotAsinc(uint8_t size) {
|
|
||||||
this->items = new NotAsincItem[size];
|
|
||||||
this->size = size;
|
|
||||||
}
|
|
||||||
|
|
||||||
NotAsinc::~NotAsinc() {}
|
|
||||||
|
|
||||||
void NotAsinc::add(uint8_t i, NotAsincCb f, void* arg) {
|
|
||||||
this->items[i].cb = f;
|
|
||||||
this->items[i].cb_arg = arg;
|
|
||||||
this->items[i].is_used = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void NotAsinc::loop() {
|
|
||||||
if (this->items[task].is_used) {
|
|
||||||
handle(this->items[task].cb, this->items[task].cb_arg);
|
|
||||||
task = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void NotAsinc::make(uint8_t task) {
|
|
||||||
this->task = task;
|
|
||||||
}
|
|
||||||
|
|
||||||
void NotAsinc::handle(NotAsincCb f, void* arg) {
|
|
||||||
f(arg);
|
|
||||||
}
|
|
||||||
NotAsinc* myNotAsincActions;
|
|
||||||
30
src/Class/NotAsync.cpp
Normal file
30
src/Class/NotAsync.cpp
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
#include "Class/NotAsync.h"
|
||||||
|
|
||||||
|
NotAsync::NotAsync(uint8_t size) {
|
||||||
|
this->items = new NotAsyncItem[size];
|
||||||
|
this->size = size;
|
||||||
|
}
|
||||||
|
|
||||||
|
NotAsync::~NotAsync() {}
|
||||||
|
|
||||||
|
void NotAsync::add(uint8_t i, NotAsyncCb f, void* arg) {
|
||||||
|
this->items[i].cb = f;
|
||||||
|
this->items[i].cb_arg = arg;
|
||||||
|
this->items[i].is_used = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void NotAsync::loop() {
|
||||||
|
if (this->items[task].is_used) {
|
||||||
|
handle(this->items[task].cb, this->items[task].cb_arg);
|
||||||
|
task = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void NotAsync::make(uint8_t task) {
|
||||||
|
this->task = task;
|
||||||
|
}
|
||||||
|
|
||||||
|
void NotAsync::handle(NotAsyncCb f, void* arg) {
|
||||||
|
f(arg);
|
||||||
|
}
|
||||||
|
NotAsync* myNotAsyncActions;
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "ItemsCmd.h"
|
#include "ItemsCmd.h"
|
||||||
|
|
||||||
#include "BufferExecute.h"
|
#include "BufferExecute.h"
|
||||||
#include "Class/NotAsinc.h"
|
#include "Class/NotAsync.h"
|
||||||
#include "Cmd.h"
|
#include "Cmd.h"
|
||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
#include "Module/Terminal.h"
|
#include "Module/Terminal.h"
|
||||||
@@ -313,7 +313,7 @@ void cmd_init() {
|
|||||||
//}
|
//}
|
||||||
//
|
//
|
||||||
//void firmwareUpdate() {
|
//void firmwareUpdate() {
|
||||||
// myNotAsincActions->make(do_UPGRADE);
|
// myNotAsyncActions->make(do_UPGRADE);
|
||||||
//}
|
//}
|
||||||
//
|
//
|
||||||
//void firmwareVersion() {
|
//void firmwareVersion() {
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
#include "ItemsList.h"
|
#include "ItemsList.h"
|
||||||
|
|
||||||
#include "Class\NotAsinc.h"
|
#include "Class/NotAsync.h"
|
||||||
#include "Init.h"
|
#include "Init.h"
|
||||||
#include "Utils\StringUtils.h"
|
#include "Utils/StringUtils.h"
|
||||||
|
|
||||||
static const char* firstLine PROGMEM = "Удалить;Тип элемента;Id;Виджет;Имя вкладки;Имя виджета;Позиция виджета";
|
static const char* firstLine PROGMEM = "Удалить;Тип элемента;Id;Виджет;Имя вкладки;Имя виджета;Позиция виджета";
|
||||||
|
|
||||||
void itemsListInit() {
|
void itemsListInit() {
|
||||||
myNotAsincActions->add(
|
myNotAsyncActions->add(
|
||||||
do_deviceInit, [&](void*) {
|
do_deviceInit, [&](void*) {
|
||||||
Device_init();
|
Device_init();
|
||||||
},
|
},
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
myNotAsincActions->add(
|
myNotAsyncActions->add(
|
||||||
do_delChoosingItems, [&](void*) {
|
do_delChoosingItems, [&](void*) {
|
||||||
delChoosingItems();
|
delChoosingItems();
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include <LittleFS.h>
|
#include <LittleFS.h>
|
||||||
|
|
||||||
#include "Class/NotAsinc.h"
|
#include "Class/NotAsync.h"
|
||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
#include "Init.h"
|
#include "Init.h"
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@ String mqttPrefix;
|
|||||||
String mqttRootDevice;
|
String mqttRootDevice;
|
||||||
|
|
||||||
void mqttInit() {
|
void mqttInit() {
|
||||||
myNotAsincActions->add(
|
myNotAsyncActions->add(
|
||||||
do_MQTTPARAMSCHANGED, [&](void*) {
|
do_MQTTPARAMSCHANGED, [&](void*) {
|
||||||
mqttReconnect();
|
mqttReconnect();
|
||||||
},
|
},
|
||||||
@@ -133,7 +133,7 @@ void mqttCallback(char* topic, uint8_t* payload, size_t length) {
|
|||||||
|
|
||||||
} else if (topicStr.indexOf("update")) {
|
} else if (topicStr.indexOf("update")) {
|
||||||
if (payloadStr == "1") {
|
if (payloadStr == "1") {
|
||||||
myNotAsincActions->make(do_UPGRADE);
|
myNotAsyncActions->make(do_UPGRADE);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (topicStr.indexOf("devc")) {
|
} else if (topicStr.indexOf("devc")) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "Upgrade.h"
|
#include "Upgrade.h"
|
||||||
|
|
||||||
#include "Class/NotAsinc.h"
|
#include "Class/NotAsync.h"
|
||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
#include "ESP8266.h"
|
#include "ESP8266.h"
|
||||||
#else
|
#else
|
||||||
@@ -10,13 +10,13 @@
|
|||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
|
|
||||||
void upgradeInit() {
|
void upgradeInit() {
|
||||||
myNotAsincActions->add(
|
myNotAsyncActions->add(
|
||||||
do_UPGRADE, [&](void*) {
|
do_UPGRADE, [&](void*) {
|
||||||
upgrade_firmware(3);
|
upgrade_firmware(3);
|
||||||
},
|
},
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
myNotAsincActions->add(
|
myNotAsyncActions->add(
|
||||||
do_GETLASTVERSION, [&](void*) {
|
do_GETLASTVERSION, [&](void*) {
|
||||||
getLastVersion();
|
getLastVersion();
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "Utils\JsonUtils.h"
|
#include "Utils/JsonUtils.h"
|
||||||
#include "Utils/FileUtils.h"
|
#include "Utils/FileUtils.h"
|
||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "Utils\StringUtils.h"
|
#include "Utils/StringUtils.h"
|
||||||
#include "Consts.h"
|
#include "Consts.h"
|
||||||
|
|
||||||
String selectToMarkerLast(String str, String found) {
|
String selectToMarkerLast(String str, String found) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include "Utils\TimeUtils.h"
|
#include "Utils/TimeUtils.h"
|
||||||
|
|
||||||
#include "Utils\StringUtils.h"
|
#include "Utils/StringUtils.h"
|
||||||
|
|
||||||
static const uint8_t days_in_month[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
|
static const uint8_t days_in_month[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
|
||||||
static const char* week_days[7] = {"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat"};
|
static const char* week_days[7] = {"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat"};
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "Utils\WebUtils.h"
|
#include "Utils/WebUtils.h"
|
||||||
#include "ESPAsyncWebServer.h"
|
#include "ESPAsyncWebServer.h"
|
||||||
|
|
||||||
String getURL(const String& urls) {
|
String getURL(const String& urls) {
|
||||||
@@ -17,8 +17,6 @@ String getURL(const String& urls) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const String getMethodName(AsyncWebServerRequest* request) {
|
const String getMethodName(AsyncWebServerRequest* request) {
|
||||||
String res = F("UNKNOWN");
|
String res = F("UNKNOWN");
|
||||||
if (request->method() == HTTP_GET)
|
if (request->method() == HTTP_GET)
|
||||||
|
|||||||
24
src/Web.cpp
24
src/Web.cpp
@@ -1,6 +1,6 @@
|
|||||||
#include "Web.h"
|
#include "Web.h"
|
||||||
|
|
||||||
#include "Class/NotAsinc.h"
|
#include "Class/NotAsync.h"
|
||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
#include "Init.h"
|
#include "Init.h"
|
||||||
#include "ItemsList.h"
|
#include "ItemsList.h"
|
||||||
@@ -23,7 +23,7 @@ void web_init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (request->hasArg("delChoosingItems")) {
|
if (request->hasArg("delChoosingItems")) {
|
||||||
myNotAsincActions->make(do_delChoosingItems);
|
myNotAsyncActions->make(do_delChoosingItems);
|
||||||
request->send(200);
|
request->send(200);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ void web_init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (request->hasArg("saveItems")) {
|
if (request->hasArg("saveItems")) {
|
||||||
myNotAsincActions->make(do_deviceInit);
|
myNotAsyncActions->make(do_deviceInit);
|
||||||
request->send(200);
|
request->send(200);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -142,37 +142,37 @@ void web_init() {
|
|||||||
if (request->hasArg("mqttServer")) {
|
if (request->hasArg("mqttServer")) {
|
||||||
jsonWriteStr(configSetupJson, "mqttServer", request->getParam("mqttServer")->value());
|
jsonWriteStr(configSetupJson, "mqttServer", request->getParam("mqttServer")->value());
|
||||||
saveConfig();
|
saveConfig();
|
||||||
myNotAsincActions->make(do_MQTTPARAMSCHANGED);
|
myNotAsyncActions->make(do_MQTTPARAMSCHANGED);
|
||||||
request->send(200);
|
request->send(200);
|
||||||
}
|
}
|
||||||
if (request->hasArg("mqttPort")) {
|
if (request->hasArg("mqttPort")) {
|
||||||
int port = (request->getParam("mqttPort")->value()).toInt();
|
int port = (request->getParam("mqttPort")->value()).toInt();
|
||||||
jsonWriteInt(configSetupJson, "mqttPort", port);
|
jsonWriteInt(configSetupJson, "mqttPort", port);
|
||||||
saveConfig();
|
saveConfig();
|
||||||
myNotAsincActions->make(do_MQTTPARAMSCHANGED);
|
myNotAsyncActions->make(do_MQTTPARAMSCHANGED);
|
||||||
request->send(200);
|
request->send(200);
|
||||||
}
|
}
|
||||||
if (request->hasArg("mqttPrefix")) {
|
if (request->hasArg("mqttPrefix")) {
|
||||||
jsonWriteStr(configSetupJson, "mqttPrefix", request->getParam("mqttPrefix")->value());
|
jsonWriteStr(configSetupJson, "mqttPrefix", request->getParam("mqttPrefix")->value());
|
||||||
saveConfig();
|
saveConfig();
|
||||||
myNotAsincActions->make(do_MQTTPARAMSCHANGED);
|
myNotAsyncActions->make(do_MQTTPARAMSCHANGED);
|
||||||
request->send(200);
|
request->send(200);
|
||||||
}
|
}
|
||||||
if (request->hasArg("mqttUser")) {
|
if (request->hasArg("mqttUser")) {
|
||||||
jsonWriteStr(configSetupJson, "mqttUser", request->getParam("mqttUser")->value());
|
jsonWriteStr(configSetupJson, "mqttUser", request->getParam("mqttUser")->value());
|
||||||
saveConfig();
|
saveConfig();
|
||||||
myNotAsincActions->make(do_MQTTPARAMSCHANGED);
|
myNotAsyncActions->make(do_MQTTPARAMSCHANGED);
|
||||||
request->send(200);
|
request->send(200);
|
||||||
}
|
}
|
||||||
if (request->hasArg("mqttPass")) {
|
if (request->hasArg("mqttPass")) {
|
||||||
jsonWriteStr(configSetupJson, "mqttPass", request->getParam("mqttPass")->value());
|
jsonWriteStr(configSetupJson, "mqttPass", request->getParam("mqttPass")->value());
|
||||||
saveConfig();
|
saveConfig();
|
||||||
myNotAsincActions->make(do_MQTTPARAMSCHANGED);
|
myNotAsyncActions->make(do_MQTTPARAMSCHANGED);
|
||||||
request->send(200);
|
request->send(200);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (request->hasArg("mqttsend")) {
|
if (request->hasArg("mqttsend")) {
|
||||||
myNotAsincActions->make(do_MQTTUDP);
|
myNotAsyncActions->make(do_MQTTUDP);
|
||||||
request->send(200);
|
request->send(200);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -197,7 +197,7 @@ void web_init() {
|
|||||||
|
|
||||||
//==============================utilities settings=============================================
|
//==============================utilities settings=============================================
|
||||||
if (request->hasArg("i2c")) {
|
if (request->hasArg("i2c")) {
|
||||||
myNotAsincActions->make(do_BUSSCAN);
|
myNotAsyncActions->make(do_BUSSCAN);
|
||||||
request->redirect("/?set.utilities");
|
request->redirect("/?set.utilities");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -219,7 +219,7 @@ void web_init() {
|
|||||||
* Check
|
* Check
|
||||||
*/
|
*/
|
||||||
server.on("/check", HTTP_GET, [](AsyncWebServerRequest* request) {
|
server.on("/check", HTTP_GET, [](AsyncWebServerRequest* request) {
|
||||||
myNotAsincActions->make(do_GETLASTVERSION);
|
myNotAsyncActions->make(do_GETLASTVERSION);
|
||||||
SerialPrint("I", "Update", "firmware version: " + String(lastVersion));
|
SerialPrint("I", "Update", "firmware version: " + String(lastVersion));
|
||||||
|
|
||||||
String msg = "";
|
String msg = "";
|
||||||
@@ -251,7 +251,7 @@ void web_init() {
|
|||||||
* Upgrade
|
* Upgrade
|
||||||
*/
|
*/
|
||||||
server.on("/upgrade", HTTP_GET, [](AsyncWebServerRequest* request) {
|
server.on("/upgrade", HTTP_GET, [](AsyncWebServerRequest* request) {
|
||||||
myNotAsincActions->make(do_UPGRADE);
|
myNotAsyncActions->make(do_UPGRADE);
|
||||||
request->send(200, "text/html");
|
request->send(200, "text/html");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include "BufferExecute.h"
|
#include "BufferExecute.h"
|
||||||
#include "Class/CallBackTest.h"
|
#include "Class/CallBackTest.h"
|
||||||
#include "Class/NotAsinc.h"
|
#include "Class/NotAsync.h"
|
||||||
#include "Class/ScenarioClass.h"
|
#include "Class/ScenarioClass.h"
|
||||||
#include "Cmd.h"
|
#include "Cmd.h"
|
||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "ItemsList.h"
|
#include "ItemsList.h"
|
||||||
#include "Utils/StatUtils.h"
|
#include "Utils/StatUtils.h"
|
||||||
#include "Utils/Timings.h"
|
#include "Utils/Timings.h"
|
||||||
#include "Utils\WebUtils.h"
|
#include "Utils/WebUtils.h"
|
||||||
#include "items/ButtonInClass.h"
|
#include "items/ButtonInClass.h"
|
||||||
//#include "RemoteOrdersUdp.h"
|
//#include "RemoteOrdersUdp.h"
|
||||||
#include "Bus.h"
|
#include "Bus.h"
|
||||||
@@ -32,7 +32,7 @@ void setup() {
|
|||||||
|
|
||||||
setChipId();
|
setChipId();
|
||||||
|
|
||||||
myNotAsincActions = new NotAsinc(do_LAST);
|
myNotAsyncActions = new NotAsync(do_LAST);
|
||||||
myScenario = new Scenario();
|
myScenario = new Scenario();
|
||||||
|
|
||||||
SerialPrint("I", "FS", "FS Init");
|
SerialPrint("I", "FS", "FS Init");
|
||||||
@@ -112,7 +112,7 @@ void loop() {
|
|||||||
loopCmdExecute();
|
loopCmdExecute();
|
||||||
//loopSerial();
|
//loopSerial();
|
||||||
|
|
||||||
myNotAsincActions->loop();
|
myNotAsyncActions->loop();
|
||||||
ts.update();
|
ts.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user