mirror of
https://github.com/esphome/esphome.git
synced 2025-09-26 15:12:21 +01:00
fix
This commit is contained in:
@@ -191,7 +191,7 @@ void USBClient::setup() {
|
|||||||
|
|
||||||
// Create and start USB task
|
// Create and start USB task
|
||||||
xTaskCreatePinnedToCore(usb_task_fn, "usb_task",
|
xTaskCreatePinnedToCore(usb_task_fn, "usb_task",
|
||||||
2048, // Stack size (minimal - just handles USB events)
|
4096, // Stack size (same as ESP-IDF USB examples)
|
||||||
this, // Task parameter
|
this, // Task parameter
|
||||||
5, // Priority (higher than main loop)
|
5, // Priority (higher than main loop)
|
||||||
&this->usb_task_handle_,
|
&this->usb_task_handle_,
|
||||||
|
Reference in New Issue
Block a user