Fix typo introduced in last commit

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2192 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-10-29 22:23:52 +00:00
parent 6f25e63da7
commit abe17ffe92

View File

@ -3216,7 +3216,7 @@ void up_usbinitialize(void)
goto errout;
}
if (irq_attach STM32_IRQ_USBLPCANRX0, stm32_lpinterrupt) != 0)
if (irq_attach(STM32_IRQ_USBLPCANRX0, stm32_lpinterrupt) != 0)
{
usbtrace(TRACE_DEVERROR(STM32_TRACEERR_IRQREGISTRATION),
(uint16)STM32_IRQ_USBLPCANRX0);