summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-10-29 11:27:25 +0700
committerhathach <[email protected]>2013-10-29 11:27:25 +0700
commit357813f1714168746cf20b91ea6e11502003e5c5 (patch)
treef75a09417f24535efe727765e59e40153b7e37bc /tinyusb/host
parentd9250260896e556c4707df5e9afccbd9dcc16d08 (diff)
implementing sw device stack
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/ehci/ehci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c
index 428c2636f..30c6665ec 100644
--- a/tinyusb/host/ehci/ehci.c
+++ b/tinyusb/host/ehci/ehci.c
@@ -768,8 +768,7 @@ void hcd_isr(uint8_t hostid)
regs->usb_sts |= int_status; // Acknowledge handled interrupt
- if (int_status == 0)
- return;
+ if (int_status == 0) return;
if (int_status & EHCI_INT_MASK_PORT_CHANGE)
{