Fix wrong string constant

This commit is contained in:
Mario Hüttel 2021-05-20 23:54:42 +02:00
parent 2beaccbe32
commit fe0bde5c32

View File

@ -161,7 +161,7 @@ static shellmatta_retCode_t shell_cmd_pt1000_res(const shellmatta_handle_t han
pt1000_status = adc_pt1000_get_current_resistance(&resistance); pt1000_status = adc_pt1000_get_current_resistance(&resistance);
if (pt1000_status == 2) { if (pt1000_status == 2) {
strcat(display_status, " UNSTABLE "); strcat(display_status, "UNSTABLE");
} else if (pt1000_status) { } else if (pt1000_status) {
strcpy(display_status, "ERROR"); strcpy(display_status, "ERROR");
} else { } else {