diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-10-29 22:02:10 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-10-29 22:02:10 +0000 |
commit | 8ea603fa6b1dd48c302974c92c665b8707ff4f45 (patch) | |
tree | 873d6058a9498a1c1559c41e697c379dfea53486 /nuttx/arch | |
parent | 7322096f71f206f1f25a641975e612999fe3a26a (diff) | |
download | px4-nuttx-8ea603fa6b1dd48c302974c92c665b8707ff4f45.tar.gz px4-nuttx-8ea603fa6b1dd48c302974c92c665b8707ff4f45.tar.bz2 px4-nuttx-8ea603fa6b1dd48c302974c92c665b8707ff4f45.zip |
Fix default NVIC priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2191 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_usbdev.c | 4 |
1 files 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 { |