File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,7 @@ pub export fn lv_demo_widgets() void {
37
37
///////////////////////////////////////////////////////////////////////////////
38
38
// Create Widgets
39
39
40
- /// Create the LVGL Widgets that will be rendered on the display. Calls the
41
- /// LVGL API that has been wrapped in Zig. Based on
42
- /// https://docs.lvgl.io/master/widgets/label.html?highlight=lv_label_create#line-wrap-recoloring-and-scrolling
40
+ /// Create the LVGL Widgets that will be rendered on the display
43
41
fn createWidgets () ! void {
44
42
debug ("createWidgets: start" , .{});
45
43
defer debug ("createWidgets: end" , .{});
@@ -191,6 +189,7 @@ export fn eventHandler(e: ?*c.lv_event_t) void {
191
189
const text = @ptrCast ([* :0 ]u8 , data );
192
190
const span = std .mem .span (text );
193
191
192
+ // Handle the identified button...
194
193
if (std .mem .eql (u8 , span , "Call" )) {
195
194
// If Call is clicked, call the number
196
195
const call_number = display_text [0.. len :0 ];
You can’t perform that action at this time.
0 commit comments