add comments

This commit is contained in:
proddy
2025-01-18 16:08:04 +01:00
parent a5e5ec5098
commit 9f24851948

View File

@@ -33,7 +33,7 @@ char * Helpers::hextoa(char * result, const uint8_t value) {
return result; return result;
} }
// same as above but to a hex string // same as hextoa but uses to a hex std::string
std::string Helpers::hextoa(const uint8_t value, bool prefix) { std::string Helpers::hextoa(const uint8_t value, bool prefix) {
char buf[3]; char buf[3];
if (prefix) { if (prefix) {