Cleaning and optimization

This commit is contained in:
Dmitry Borisenko
2020-11-19 04:14:52 +03:00
parent 4f9763334b
commit 70c34d3d8d
15 changed files with 29 additions and 978 deletions

View File

@@ -62,7 +62,7 @@ void countDown() {
void countDownExecute() {
String key = sCmd.order();
String countDownPeriod = sCmd.next();
int number = getKeyNum(key, countDown_KeyList);
if (myCountDown != nullptr) {

View File

@@ -20,7 +20,7 @@ void LoggingClass::loop() {
difference = currentMillis - prevMillis;
if (difference >= _period) {
prevMillis = millis();
addNewDelOldData("logs/" + _key + ".txt", _maxPoints, jsonReadStr(configLiveJson, _loggingValueKey));
addNewDelOldData("logs/" + _key + ".txt", _maxPoints, getValue(_loggingValueKey)); //jsonReadStr(configLiveJson , _loggingValueKey));
}
}