From 8ea603fa6b1dd48c302974c92c665b8707ff4f45 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 29 Oct 2009 22:02:10 +0000 Subject: Fix default NVIC priority git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2191 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/stm32/stm32_usbdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nuttx/arch/arm/src/stm32/stm32_usbdev.c b/nuttx/arch/arm/src/stm32/stm32_usbdev.c index d42aa85e9..d1a740f37 100644 --- a/nuttx/arch/arm/src/stm32/stm32_usbdev.c +++ b/nuttx/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 { -- cgit v1.2.3