From: arighi Date: Wed, 22 Sep 2010 10:18:29 +0000 (+0000) Subject: STM32: USB: always perform non-blocking I/O for EP0 X-Git-Tag: 2.6.0~146 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=08eb84f9adca434cbc682642aea5f3a7aea17187;hp=08eb84f9adca434cbc682642aea5f3a7aea17187;p=bertos.git STM32: USB: always perform non-blocking I/O for EP0 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 ---