X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fsrc%2Fmain.c;h=a88338ac79bfd7b7e839295fc9fc6800bc1a63ef;hb=19e4d682fca010ef72e0a304335910f670c2268a;hp=bf6602a8d8cc29af60916edb97737b4facf9d84f;hpb=10280c74bd62f63b1483bf1b17d40b0eeb35845e;p=carl9170fw.git diff --git a/carlfw/src/main.c b/carlfw/src/main.c index bf6602a..a88338a 100644 --- a/carlfw/src/main.c +++ b/carlfw/src/main.c @@ -29,6 +29,7 @@ #include "printf.h" #include "gpio.h" #include "wl.h" +#include "usb.h" #define AR9170_WATCH_DOG_TIMER 0x100 @@ -105,6 +106,8 @@ static void timer0_isr(void) gpio_timer(); #endif /* CONFIG_CARL9170FW_GPIO_INTERRUPT */ + usb_timer(); + #ifdef CONFIG_CARL9170FW_DEBUG_LED_HEARTBEAT set(AR9170_GPIO_REG_PORT_DATA, get(AR9170_GPIO_REG_PORT_DATA) ^ 1); #endif /* CONFIG_CARL9170FW_DEBUG_LED_HEARTBEAT */