From 18e8d5310d3f7ccdddaeff661d0c9a39dbc18798 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 29 Oct 2009 22:02:10 +0000 Subject: [PATCH] Fix default NVIC priority git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2191 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/stm32/stm32_usbdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/stm32/stm32_usbdev.c b/arch/arm/src/stm32/stm32_usbdev.c index d42aa85e93..d1a740f375 100644 --- a/arch/arm/src/stm32/stm32_usbdev.c +++ b/arch/arm/src/stm32/stm32_usbdev.c @@ -82,7 +82,7 @@ #endif #ifndef CONFIG_USB_PRI -# define CONFIG_USB_PRI 2 +# define CONFIG_USB_PRI NVIC_SYSH_PRIORITY_DEFAULT #endif /* Extremely detailed register debug that you would normally never want @@ -3333,7 +3333,7 @@ int usbdev_register(struct usbdevclass_driver_s *driver) if (ret) { usbtrace(TRACE_DEVERROR(STM32_TRACEERR_BINDFAILED), (uint16)-ret); - priv->driver = NULL; + priv->driver = NULL; } else {