diff --git a/src/helpers.cpp b/src/helpers.cpp index 3320f5037..09c8792ee 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -190,12 +190,6 @@ char * Helpers::render_boolean(char * result, bool value) { return result; } -// // render for native char strings -// char * Helpers::render_value(char * result, const char * value, const int8_t format __attribute__((unused))) { -// strcpy(result, value); // un-safe but we don't care -// return result; -// } - // convert unsigned int (single byte) to text value and returns it // format: 255(0xFF)=boolean, 0=no formatting, otherwise divide by format char * Helpers::render_value(char * result, uint8_t value, int8_t format, const uint8_t fahrenheit) { diff --git a/src/helpers.h b/src/helpers.h index 06a4bb671..7068954fe 100644 --- a/src/helpers.h +++ b/src/helpers.h @@ -37,7 +37,6 @@ class Helpers { static char * render_value(char * result, const uint32_t value, const int8_t format, const uint8_t fahrenheit = 0); static char * render_value(char * result, const int16_t value, const int8_t format, const uint8_t fahrenheit = 0); static char * render_value(char * result, const int32_t value, const int8_t format, const uint8_t fahrenheit = 0); - // static char * render_value(char * result, const char * value, const int8_t format); static char * render_boolean(char * result, bool value); static char * hextoa(char * result, const uint8_t value);