Fix wrong string constant
This commit is contained in:
parent
2beaccbe32
commit
fe0bde5c32
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user