diff --git a/include/Utils/StringUtils.h b/include/Utils/StringUtils.h index 9dc91d6b..6ba28348 100644 --- a/include/Utils/StringUtils.h +++ b/include/Utils/StringUtils.h @@ -28,4 +28,3 @@ boolean isDigitStr(const String&); String prettyBytes(size_t size); -const char getErrorLevelStr(uint8_t level); \ No newline at end of file diff --git a/src/Utils/StringUtils.cpp b/src/Utils/StringUtils.cpp index bcb2351f..bf6af4b1 100644 --- a/src/Utils/StringUtils.cpp +++ b/src/Utils/StringUtils.cpp @@ -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 '?'; -} \ No newline at end of file