USB host warning fix

This commit is contained in:
Ken Van Hoeylandt 2026-06-18 21:28:14 +02:00
parent 8e63ceb460
commit 780b8accfb

View File

@ -71,9 +71,7 @@ static error_t start_device(struct Device* device) {
.intr_flags = ESP_INTR_FLAG_LEVEL1, .intr_flags = ESP_INTR_FLAG_LEVEL1,
.enum_filter_cb = nullptr, .enum_filter_cb = nullptr,
.fifo_settings_custom = {}, .fifo_settings_custom = {},
#if CONFIG_IDF_TARGET_ESP32P4
.peripheral_map = cfg->peripheral_map, .peripheral_map = cfg->peripheral_map,
#endif
}; };
esp_err_t ret = usb_host_install(&host_cfg); esp_err_t ret = usb_host_install(&host_cfg);