summaryrefslogtreecommitdiff
path: root/src/GeneralUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralUtils.cpp')
-rw-r--r--src/GeneralUtils.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/GeneralUtils.cpp b/src/GeneralUtils.cpp
index 6bfde84..e8eb3a0 100644
--- a/src/GeneralUtils.cpp
+++ b/src/GeneralUtils.cpp
@@ -24,15 +24,6 @@ static const char kBase64Alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"0123456789+/";
-GeneralUtils::GeneralUtils() {
- // TODO Auto-generated constructor stub
-
-}
-
-GeneralUtils::~GeneralUtils() {
- // TODO Auto-generated destructor stub
-}
-
static int base64EncodedLength(size_t length) {
return (length + 2 - ((length + 2) % 3)) / 3 * 4;
} // base64EncodedLength
@@ -272,6 +263,7 @@ void GeneralUtils::hexDump(uint8_t* pData, uint32_t length) {
}
*/
+
/**
* @brief Dump a representation of binary data to the console.
*
@@ -315,6 +307,7 @@ void GeneralUtils::hexDump(const uint8_t* pData, uint32_t length) {
}
} // hexDump
+
/**
* @brief Convert an IP address to string.
* @param ip The 4 byte IP address.
@@ -404,6 +397,7 @@ const char* GeneralUtils::errorToString(esp_err_t errCode) {
return "Unknown ESP_ERR error";
} // errorToString
+
/**
* @brief Restart the ESP32.
*/