Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical authored Jul 8, 2024
1 parent 01e8b9e commit fdcf2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/cpp/esp-idf/slint/src/slint-esp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ void slint_esp_init(slint::PhysicalSize size, esp_lcd_panel_handle_t panel,
SlintPlatformConfiguration config {
.size = size,
.panel = panel,
.touch = touch,
.touch = touch ? *touch : nullptr,
.buffer1 = buffer1,
.buffer2 = buffer2,
// For compatibility with earlier versions of Slint, we compute the value of
Expand Down

0 comments on commit fdcf2dd

Please sign in to comment.