mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
remove comments
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user