summaryrefslogtreecommitdiff
path: root/tinyusb/hal
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-12 20:04:29 +0700
committerhathach <[email protected]>2013-03-12 20:04:29 +0700
commitd2bd80109ef5fb46ca46fae168f5d3a5096794bc (patch)
tree103415b6e97e04001a33af2f950c0355a3b2bb03 /tinyusb/hal
parent60c2caf84a4ee9e9095925186de0cd275005b2fc (diff)
add semaphore post in usbh_isr for control pipe
add osal_queue_send in usbh_device_plugged add macro for placing breakpoint macros fix ehci init: - regs->cmd or (add run_stop) - enable port power in portsc add tusb_task_runner in main loop
Diffstat (limited to 'tinyusb/hal')
-rw-r--r--tinyusb/hal/hal_lpc43xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/hal/hal_lpc43xx.c b/tinyusb/hal/hal_lpc43xx.c
index f86d5ec2a..388552ec1 100644
--- a/tinyusb/hal/hal_lpc43xx.c
+++ b/tinyusb/hal/hal_lpc43xx.c
@@ -62,7 +62,7 @@ tusb_error_t hal_init()
LPC_CREG->CREG0 &= ~(1<<5); /* Turn on the phy */
//------------- reset controller & set role -------------//
- hcd_controller_reset(0);
+ hcd_controller_reset(0); // TODO where to place prototype
LPC_USB0->USBMODE_H = LPC43XX_USBMODE_HOST | (LPC43XX_USBMODE_VBUS_HIGH << 5);
hal_interrupt_enable();