STM32: USB: wLength field of the setup packet is in little-endian format
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Sep 2010 10:18:36 +0000 (10:18 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Sep 2010 10:18:36 +0000 (10:18 +0000)
commit2ed16baa0c2b345d6e3d95caccab6f92dc57a66f
tree8c2b5b2a3d970c7efb39dc63a92f2fc346489c59
parent774e4dcb7a72c3d4659af891558272a9b1c4e659
STM32: USB: wLength field of the setup packet is in little-endian format

This is not really necessary for this architecture, but use
usb_cpu_to_le16() just for code readability.

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