Register renames to allow stm32l4 usb device compilation

This commit is contained in:
Sebastien Lorquet
2016-09-05 08:50:09 +02:00
parent bdcb0bf66d
commit 87d2f86968
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);