summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-10-30 12:24:07 +0700
committerhathach <[email protected]>2019-10-30 12:24:07 +0700
commit16665672a45c4f85cb2e1a47873825f2b48fcf1a (patch)
treee3542b6fd0da123b0b98ddd555c09552bc67ede0 /src/device
parent880ac1e39823f7e17416b882ff57b0899f2e85da (diff)
initally adding test_usbd.c
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index 444b4a6f9..9fa98c669 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -124,7 +124,7 @@ void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr);
//--------------------------------------------------------------------+
// Called by DCD to notify device stack
-void dcd_event_handler(dcd_event_t const * event, bool in_isr);
+extern void dcd_event_handler(dcd_event_t const * event, bool in_isr);
// helper to send bus signal event
static inline void dcd_event_bus_signal (uint8_t rhport, dcd_eventid_t eid, bool in_isr);