Skip to content

Commit 6eb8a61

Browse files
committed
updates
1 parent 7955dc1 commit 6eb8a61

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,9 @@ These watchfaces are binary files converted into LVGL code and compiled along wi
7373

7474
#### 2. External Installable Binary Watchfaces
7575

76+
- [x] Custom watchfaces works on LVGL 8. [Checkout this branch](https://github.com/fbiego/esp32-c3-mini/tree/lvgl_8)
7677
- [ ] Work in progress for LVGL 9
7778

78-
~~This project now supports the installation of binary watchfaces after the initial code compilation and flashing. You can add or remove watchfaces via the Chronos app using BLE. Once transferred to the ESP32, the watchface will be parsed and executed.~~
79-
8079
- Ensure there is sufficient storage space on the ESP32 flash. Using the FFAT partition is recommended.
8180

8281
> [!IMPORTANT]

src/faces/kenya/kenya.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ void init_face_kenya(void (*callback)(const char*, const lv_img_dsc_t *, lv_obj_
8585
lv_obj_set_style_pad_right(face_kenya, 0, LV_PART_MAIN| LV_STATE_DEFAULT);
8686
lv_obj_set_style_pad_top(face_kenya, 0, LV_PART_MAIN| LV_STATE_DEFAULT);
8787
lv_obj_set_style_pad_bottom(face_kenya, 0, LV_PART_MAIN| LV_STATE_DEFAULT);
88+
lv_obj_set_style_radius(face_kenya, LV_RADIUS_CIRCLE, LV_PART_MAIN | LV_STATE_DEFAULT);
89+
lv_obj_set_style_clip_corner(face_kenya, true, LV_PART_MAIN | LV_STATE_DEFAULT);
8890

8991
lv_obj_add_event_cb(face_kenya, onFaceEvent, LV_EVENT_ALL, NULL);
9092

0 commit comments

Comments
 (0)