disable all endpoints when configure(0)

This commit is contained in:
NIIBE Yutaka
2012-05-17 13:29:39 +09:00
parent f2afeacdcb
commit e2e2e1a045
2 changed files with 44 additions and 20 deletions

View File

@@ -1,5 +1,9 @@
2012-05-17 Niibe Yutaka <gniibe@fsij.org>
* src/usb_prop.c (gnuk_setup_endpoints_for_interface): Add STOP
argument.
(gnuk_usb_event): Disable all endpoints when configure(0).
* src/usb_lld.c (LAST_OUT_DATA): Remove.
(handle_datastage_out): Cleanup and call st103_ep_set_rxtx_status.
(handle_datastage_in): Call st103_ep_set_rxtx_status and