mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 11:44:31 +02:00
Merge branch 'bugfix/usb_host_usbh_callback_misses_action_v4.4' into 'release/v4.4'
fix(usb): Fix bug where usbh_process() misses an event (v4.4) See merge request espressif/esp-idf!29367
This commit is contained in:
@@ -207,6 +207,8 @@ static bool _dev_set_actions(device_t *dev_obj, uint32_t action_flags)
|
|||||||
dev_obj->dynamic.flags.in_pending_list = 1;
|
dev_obj->dynamic.flags.in_pending_list = 1;
|
||||||
call_notif_cb = true;
|
call_notif_cb = true;
|
||||||
} else {
|
} else {
|
||||||
|
// The device is already on the callback list, thus a processing request is already pending.
|
||||||
|
dev_obj->dynamic.action_flags |= action_flags;
|
||||||
call_notif_cb = false;
|
call_notif_cb = false;
|
||||||
}
|
}
|
||||||
return call_notif_cb;
|
return call_notif_cb;
|
||||||
|
Reference in New Issue
Block a user