This commit is contained in:
Dmitry Borisenko
2020-11-01 05:02:59 +03:00
parent d96aea8eef
commit 24de398a32
2 changed files with 0 additions and 14 deletions

View File

@@ -28,4 +28,3 @@ boolean isDigitStr(const String&);
String prettyBytes(size_t size);
const char getErrorLevelStr(uint8_t level);

View File

@@ -111,16 +111,3 @@ String prettyBytes(size_t size) {
return String(size / 1024.0 / 1024.0 / 1024.0) + "GB";
}
const char getErrorLevelStr(uint8_t level) {
switch (level) {
case EL_INFO:
return 'I';
case EL_WARNING:
return 'W';
case EL_ERROR:
return 'E';
default:
break;
}
return '?';
}