Fix default NVIC priority

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2191 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-10-29 22:02:10 +00:00
parent 9d82aac055
commit 18e8d5310d
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@
#endif #endif
#ifndef CONFIG_USB_PRI #ifndef CONFIG_USB_PRI
# define CONFIG_USB_PRI 2 # define CONFIG_USB_PRI NVIC_SYSH_PRIORITY_DEFAULT
#endif #endif
/* Extremely detailed register debug that you would normally never want /* Extremely detailed register debug that you would normally never want
@ -3333,7 +3333,7 @@ int usbdev_register(struct usbdevclass_driver_s *driver)
if (ret) if (ret)
{ {
usbtrace(TRACE_DEVERROR(STM32_TRACEERR_BINDFAILED), (uint16)-ret); usbtrace(TRACE_DEVERROR(STM32_TRACEERR_BINDFAILED), (uint16)-ret);
priv->driver = NULL; priv->driver = NULL;
} }
else else
{ {