mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Register renames to allow stm32l4 usb device compilation
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user