Merged in slorquet/nuttx/st32l4regnames (pull request #130)

Register renames to allow stm32l4 usb device compilation
This commit is contained in:
Gregory Nutt
2016-09-05 07:34:32 -06:00
2 changed files with 334 additions and 334 deletions
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3743,7 +3743,7 @@ static int stm32l4_usbinterrupt(int irq, FAR void *context)
/* USB reset interrupt */
if ((regval & OTGFS_GINT_USBRST) != 0)
if ((regval & (OTGFS_GINT_USBRST | OTGFS_GINT_RSTDET)) != 0)
{
usbtrace(TRACE_INTDECODE(STM32L4_TRACEINTID_DEVRESET), (uint16_t)regval);