mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
Merge branch 'dev' of https://github.com/emsesp/EMS-ESP32 into dev_no_master_thermostat
This commit is contained in:
@@ -189,11 +189,11 @@ 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;
|
||||
}
|
||||
// // 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
|
||||
|
||||
Reference in New Issue
Block a user