aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/OTGv1
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-13 17:49:51 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-13 17:49:51 +0000
commitfd5dd5f3b688b57678b431af4d825ad20afb6f32 (patch)
treed345a3bcb4f50680314cbf8b30f68ce2420f7b0b /os/hal/platforms/STM32/OTGv1
parent688ba3512495f5c02cc1206c1ebe8975bc0c267f (diff)
downloadChibiOS-fd5dd5f3b688b57678b431af4d825ad20afb6f32.tar.gz
ChibiOS-fd5dd5f3b688b57678b431af4d825ad20afb6f32.tar.bz2
ChibiOS-fd5dd5f3b688b57678b431af4d825ad20afb6f32.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4652 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/OTGv1')
-rw-r--r--os/hal/platforms/STM32/OTGv1/usb_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/OTGv1/usb_lld.c b/os/hal/platforms/STM32/OTGv1/usb_lld.c
index 31212f28e..98d0f6d03 100644
--- a/os/hal/platforms/STM32/OTGv1/usb_lld.c
+++ b/os/hal/platforms/STM32/OTGv1/usb_lld.c
@@ -820,7 +820,7 @@ void usb_lld_init(void) {
(uint8_t *)wsp + sizeof(Thread),
CH_THREAD_FILL_VALUE);
_thread_memfill((uint8_t *)wsp + sizeof(Thread),
- (uint8_t *)wsp + sizeof(USBD1.wa_pump) - sizeof(Thread),
+ (uint8_t *)wsp + sizeof(USBD2.wa_pump) - sizeof(Thread),
CH_STACK_FILL_VALUE);
}
#endif