Fixed bug #541.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7428 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
d47ce46522
commit
6eab72aacf
|
@ -760,7 +760,7 @@ void usb_lld_init(void) {
|
|||
(uint8_t *)wsp + sizeof(thread_t),
|
||||
CH_DBG_THREAD_FILL_VALUE);
|
||||
_thread_memfill((uint8_t *)wsp + sizeof(thread_t),
|
||||
(uint8_t *)wsp + sizeof(USBD1.wa_pump) - sizeof(thread_t),
|
||||
(uint8_t *)wsp + sizeof(USBD1.wa_pump),
|
||||
CH_DBG_STACK_FILL_VALUE);
|
||||
}
|
||||
#endif /* CH_DBG_FILL_THREADS */
|
||||
|
@ -784,7 +784,7 @@ void usb_lld_init(void) {
|
|||
(uint8_t *)wsp + sizeof(thread_t),
|
||||
CH_DBG_THREAD_FILL_VALUE);
|
||||
_thread_memfill((uint8_t *)wsp + sizeof(thread_t),
|
||||
(uint8_t *)wsp + sizeof(USBD2.wa_pump) - sizeof(thread_t),
|
||||
(uint8_t *)wsp + sizeof(USBD2.wa_pump),
|
||||
CH_DBG_STACK_FILL_VALUE);
|
||||
}
|
||||
#endif /* CH_DBG_FILL_THREADS */
|
||||
|
|
Loading…
Reference in New Issue