This commit is contained in:
Yuri Trikoz
2020-06-25 09:21:42 +03:00
parent 5ed1c23c62
commit 7c61ff2810
17 changed files with 182 additions and 254 deletions

View File

@@ -11,3 +11,5 @@ String jsonWriteStr(String& json, String name, String volume);
String jsonWriteInt(String& json, String name, int volume);
String jsonWriteFloat(String& json, String name, float volume);
boolean jsonReadBool(String& json, String name);

View File

@@ -14,11 +14,11 @@ class PrintMessage {
_module = module;
}
void error(const String str) {
void error(const String& str) {
print(EL_ERROR, str);
}
void info(const String str) {
void info(const String& str) {
print(EL_INFO, str);
}

View File

@@ -4,6 +4,6 @@
const String getChipId();
void printMemoryStatus(String text = "");
const String printMemoryStatus();
String getHeapStats();
const String getHeapStats();

View File

@@ -35,12 +35,6 @@ int timeToMin(String Time);
const String prettyMillis(unsigned long time_ms = millis());
int timeZoneInSeconds(const byte timeZone);
bool hasTimeSynced();
int getBiasInSeconds();
/*
* Время (мс) прошедщее с @simce
*/