mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'feat/lcd_i2c_use_configurable_timeout' into 'master'
feat(lcd): add configurable timeout for lcd i2c panel Closes IDFGH-17618 and IDFGH-17619 See merge request espressif/esp-idf!48426
This commit is contained in:
@@ -56,7 +56,8 @@ TEST_CASE("lcd_panel_with_i2c_interface_(ssd1306)", "[lcd]")
|
||||
.flags = {
|
||||
.dc_low_on_data = false, // According to SSD1306 datasheet, DC=0 means command, DC=1 means data
|
||||
.disable_control_phase = false, // Control phase is used
|
||||
}
|
||||
},
|
||||
.transaction_timeout_ms = 0, // 0 keeps the legacy infinite wait behavior
|
||||
};
|
||||
|
||||
TEST_ESP_OK(esp_lcd_new_panel_io_i2c(bus_handle, &io_config, &io_handle));
|
||||
|
||||
Reference in New Issue
Block a user