STM32: USB: always perform non-blocking I/O for EP0
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Sep 2010 10:18:29 +0000 (10:18 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Sep 2010 10:18:29 +0000 (10:18 +0000)
Control endpoint I/O can happen under IRQ context, so we should never
sleep.

Change the behaviour of usb_ep_read/write() to never sleep if the
operation is performed by the control endpoint (EP0).

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4255 38d2e660-2303-0410-9eaa-f027e97ec537


No differences found