diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-12-03 22:53:54 -0500 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-12-06 22:47:21 -0500 |
commit | 7ea1892bbb146eb5ce4d8602c136fadb54d454c8 (patch) | |
tree | a222a8c0aaf81ae22e2223d54f22fddf6f81761f /app/src/display/widgets/output_status.c | |
parent | 0d80220e14200b38b3e244d9f24e8bd7b61768d2 (diff) |
fix(display): All display updates in work thread.
* Make sure all LVGL access is from main work thread.
Diffstat (limited to 'app/src/display/widgets/output_status.c')
-rw-r--r-- | app/src/display/widgets/output_status.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/src/display/widgets/output_status.c b/app/src/display/widgets/output_status.c index b00d3fc..723d4f7 100644 --- a/app/src/display/widgets/output_status.c +++ b/app/src/display/widgets/output_status.c @@ -41,20 +41,16 @@ void set_status_symbol(lv_obj_t *label) { switch (selected_endpoint) { case ZMK_ENDPOINT_USB: - LOG_DBG("USB, BOY!"); strcat(text, LV_SYMBOL_USB " "); break; case ZMK_ENDPOINT_BLE: if (active_profie_bonded) { if (active_profile_connected) { - LOG_DBG("Bonded & connected!"); sprintf(text, LV_SYMBOL_WIFI "%i " LV_SYMBOL_OK, active_profile_index); } else { - LOG_DBG("Bonded but not connected!"); sprintf(text, LV_SYMBOL_WIFI "%i " LV_SYMBOL_CLOSE, active_profile_index); } } else { - LOG_DBG("NOT Bonded!"); sprintf(text, LV_SYMBOL_WIFI "%i " LV_SYMBOL_SETTINGS, active_profile_index); } break; |