From d2bd80109ef5fb46ca46fae168f5d3a5096794bc Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 12 Mar 2013 20:04:29 +0700 Subject: 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 --- tinyusb/hal/hal_lpc43xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyusb/hal') 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(); -- cgit v1.3.1