summaryrefslogtreecommitdiff
path: root/src/portable/nxp/lpc17_40
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-03-30 14:47:11 +0700
committerhathach <[email protected]>2019-03-30 14:47:11 +0700
commitb28cc6ddb11ef233b6e6ee25b4a305b4b76cc03c (patch)
treede6623830676a997c9328f8996151537c30f5d6f /src/portable/nxp/lpc17_40
parentcabf6abb4f49648ad6eb1f9cb54bfad131f457b7 (diff)
added dcd_remote_wakeup() stub for all ports
Diffstat (limited to 'src/portable/nxp/lpc17_40')
-rw-r--r--src/portable/nxp/lpc17_40/dcd_lpc17_40.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/portable/nxp/lpc17_40/dcd_lpc17_40.c b/src/portable/nxp/lpc17_40/dcd_lpc17_40.c
index 5da18d52b..30252f56d 100644
--- a/src/portable/nxp/lpc17_40/dcd_lpc17_40.c
+++ b/src/portable/nxp/lpc17_40/dcd_lpc17_40.c
@@ -185,7 +185,6 @@ void dcd_init(uint8_t rhport)
// USB IRQ priority should be set by application previously
NVIC_ClearPendingIRQ(USB_IRQn);
- NVIC_EnableIRQ(USB_IRQn);
}
void dcd_int_enable(uint8_t rhport)
@@ -215,6 +214,11 @@ void dcd_set_config(uint8_t rhport, uint8_t config_num)
sie_write(SIE_CMDCODE_CONFIGURE_DEVICE, 1, 1);
}
+void dcd_remote_wakeup(uint8_t rhport)
+{
+ (void) rhport;
+}
+
//--------------------------------------------------------------------+
// CONTROL HELPER
//--------------------------------------------------------------------+