Skip to content

Commit

Permalink
bluetooth
Browse files Browse the repository at this point in the history
  • Loading branch information
allymparker committed May 30, 2024
1 parent 268bd4d commit f96725f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/boards/shields/nice_view/widgets/peripheral_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static void draw_top(lv_obj_t *widget, lv_color_t cbuf[], const struct status_st

// Draw output status
lv_canvas_draw_text(canvas, 0, 0, CANVAS_SIZE, &label_dsc,
state->connected ? LV_SYMBOL_WIFI : LV_SYMBOL_CLOSE);
state->connected ? LV_SYMBOL_BLUETOOTH : LV_SYMBOL_CLOSE);

// Rotate canvas
rotate_canvas(canvas, cbuf);
Expand Down
2 changes: 1 addition & 1 deletion app/boards/shields/nice_view/widgets/status.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static void draw_top(lv_obj_t *widget, lv_color_t cbuf[], const struct status_st
case ZMK_TRANSPORT_BLE:
if (state->active_profile_bonded) {
if (state->active_profile_connected) {
strcat(output_text, LV_SYMBOL_WIFI);
strcat(output_text, LV_SYMBOL_BLUETOOTH);
} else {
strcat(output_text, LV_SYMBOL_CLOSE);
}
Expand Down

0 comments on commit f96725f

Please sign in to comment.