USB: unify endpoints' TX and RX buffers
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 30 Sep 2010 10:18:55 +0000 (10:18 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 30 Sep 2010 10:18:55 +0000 (10:18 +0000)
commit8afdfcae79f9b5512f54232b80a67fc4d789f47e
tree72f534293db8f4eb826ab3022c253ad35aa74dc7
parente71edb195539ce8bd2c76cf54048f33a1e6d66be
USB: unify endpoints' TX and RX buffers

According to the USB standard a USB endpoint can carry data in only one
direction, either from the host computer to the device (OUT endpoint) or
from the device to the host computer (IN endpoint).

So there is no reason to use distinct buffers for trasnmit and receive.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4375 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cfg/cfg_usb.h
bertos/cpu/cortex-m3/drv/usb_stm32.c
bertos/cpu/cortex-m3/drv/usb_stm32.h