Skip to content

Commit

Permalink
esp-idf: fix gating of experimental feature
Browse files Browse the repository at this point in the history
Commit 3121922 removed the optional,
but didn't remove the default argument
  • Loading branch information
ogoffart committed Apr 4, 2024
1 parent 80b5965 commit e2bfb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/cpp/esp-idf/slint/include/slint-esp.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
void slint_esp_init(slint::PhysicalSize size, esp_lcd_panel_handle_t panel,
std::optional<esp_lcd_touch_handle_t> touch,
std::span<slint::platform::Rgb565Pixel> buffer1 = {},
std::span<slint::platform::Rgb565Pixel> buffer1,
std::optional<std::span<slint::platform::Rgb565Pixel>> buffer2 = {}
#ifdef SLINT_FEATURE_EXPERIMENTAL
,
Expand Down

0 comments on commit e2bfb9a

Please sign in to comment.