Home
last modified time | relevance | path

Searched refs:num_faces (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch_home.c66 static uint32_t num_faces; variable
88 if(num_faces >= MAX_FACES) { in lv_demo_smartwatch_register_watchface_cb()
92 faces[num_faces].name = name; in lv_demo_smartwatch_register_watchface_cb()
93 faces[num_faces].preview = preview; in lv_demo_smartwatch_register_watchface_cb()
94 faces[num_faces].watchface = watchface; in lv_demo_smartwatch_register_watchface_cb()
95 faces[num_faces].seconds = seconds; in lv_demo_smartwatch_register_watchface_cb()
96 lv_demo_smartwatch_add_watchface(name, preview, num_faces); in lv_demo_smartwatch_register_watchface_cb()
97 num_faces++; in lv_demo_smartwatch_register_watchface_cb()
157 if(index >= num_faces) { in lv_demo_smartwatch_face_selected_cb()
198 for(int i = 0; (uint32_t)i < num_faces; i++) { in lv_demo_smartwatch_face_update_seconds()
[all …]