Skip to content

Commit

Permalink
converted main to cpp, removed trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
frnktank committed Dec 16, 2024
1 parent afad4d6 commit b2c27dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
File renamed without changes.
4 changes: 1 addition & 3 deletions examples/nucleo_l476rg/lvgl/test_screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ void drawTestScreen(void)
lv_style_set_bg_color(&style_btn_pressed, lv_palette_main(LV_PALETTE_ORANGE));

lv_obj_add_style(btn, &style_btn_pressed, LV_STATE_PRESSED);

lv_obj_add_event_cb(btn, btn_event_cb, LV_EVENT_PRESSED, btnLabel);

lv_obj_add_event_cb(btn, btn_event_cb, LV_EVENT_PRESSED, btnLabel);
lv_obj_t* labelB = lv_label_create(screen);
lv_label_set_text(labelB, "Big Font");
lv_obj_set_pos(labelB, 40, 260);
Expand Down

0 comments on commit b2c27dc

Please sign in to comment.