mirror of
https://github.com/esphome/esphome.git
synced 2025-09-26 15:12:21 +01:00
simplify
This commit is contained in:
@@ -210,7 +210,7 @@ void USBClient::usb_task_fn(void *arg) {
|
||||
|
||||
void USBClient::usb_task_loop() {
|
||||
while (true) {
|
||||
usb_host_client_handle_events(this->handle_, pdMS_TO_TICKS(10));
|
||||
usb_host_client_handle_events(this->handle_, portMAX_DELAY);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user