git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7428 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2014-10-26 12:28:22 +00:00
parent d47ce46522
commit 6eab72aacf
1 changed files with 2 additions and 2 deletions

View File

@ -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 */