Skip to content

Commit

Permalink
REST: Color doesn't display well with our background, standardize dis…
Browse files Browse the repository at this point in the history
…play and TTS language to other endpoints

(cherry picked from commit dc1d55d)
  • Loading branch information
kristiankielhofner authored and stintel committed Sep 18, 2023
1 parent fde653c commit 7b44046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/endpoint/rest.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void rest_send(const char *data)
}
} else {
ESP_LOGI(TAG, "REST failed");
war.fn_err("Something went wrong");
war.fn_err("Error");
}

if (lvgl_port_lock(lvgl_lock_timeout)) {
Expand All @@ -82,7 +82,7 @@ void rest_send(const char *data)
lv_label_set_text(lbl_ln5, body);
} else {
lv_label_set_text_static(lbl_ln4, "Command status:");
lv_label_set_text(lbl_ln5, ok ? "#008000 Success!" : "#ff0000 Error");
lv_label_set_text(lbl_ln5, ok ? "Success!" : "Error");
}
lvgl_port_unlock();
}
Expand Down

0 comments on commit 7b44046

Please sign in to comment.