increase buffer length to show boiler details

This commit is contained in:
Paul
2020-02-03 23:51:49 +01:00
parent ec25636d99
commit af3971ef02
2 changed files with 2 additions and 2 deletions

View File

@@ -215,7 +215,7 @@ _EMS_THERMOSTAT_MODE _getThermostatDayMode(uint8_t hc_num) {
// Info - display status and data on an 'info' command // Info - display status and data on an 'info' command
void showInfo() { void showInfo() {
static char buffer_type[128] = {0}; static char buffer_type[200] = {0};
myDebug_P(PSTR("%sEMS-ESP system status:%s"), COLOR_BOLD_ON, COLOR_BOLD_OFF); myDebug_P(PSTR("%sEMS-ESP system status:%s"), COLOR_BOLD_ON, COLOR_BOLD_OFF);
_EMS_SYS_LOGGING sysLog = ems_getLogging(); _EMS_SYS_LOGGING sysLog = ems_getLogging();

View File

@@ -2115,7 +2115,7 @@ bool ems_getDeviceTypeDescription(uint8_t device_id, char * buffer) {
* returns current device details as a string for known thermostat,boiler,solar and heatpump * returns current device details as a string for known thermostat,boiler,solar and heatpump
*/ */
char * ems_getDeviceDescription(_EMS_DEVICE_TYPE device_type, char * buffer, bool name_only) { char * ems_getDeviceDescription(_EMS_DEVICE_TYPE device_type, char * buffer, bool name_only) {
const uint8_t size = 128; const uint8_t size = 200;
bool enabled = false; bool enabled = false;
uint8_t device_id; uint8_t device_id;
uint8_t product_id; uint8_t product_id;