summaryrefslogtreecommitdiff
path: root/demos
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 /demos
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 'demos')
-rw-r--r--demos/bsp/boards/board.c3
-rw-r--r--demos/host/main.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/demos/bsp/boards/board.c b/demos/bsp/boards/board.c
index 4bc7ea051..c75203278 100644
--- a/demos/bsp/boards/board.c
+++ b/demos/bsp/boards/board.c
@@ -47,5 +47,6 @@ void SysTick_Handler (void)
void check_failed(uint8_t *file, uint32_t line)
{
-
+ (void) file;
+ (void) line;
}
diff --git a/demos/host/main.c b/demos/host/main.c
index e2cb25b67..cb14a3762 100644
--- a/demos/host/main.c
+++ b/demos/host/main.c
@@ -24,6 +24,8 @@ int main(void)
printf("reset\n");
while (1)
{
+ tusb_task_runner();
+
if (current_tick + 30*1000 < system_ticks)
{
current_tick += 30*1000;