diff options
| author | hathach <[email protected]> | 2014-03-03 16:54:17 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-03 16:54:17 +0700 |
| commit | 9604645f242c7f7641f5b7156433a000149f4581 (patch) | |
| tree | 756aa3c994486ff50c0ac4be2ce4d549663e705b | |
| parent | 22a84f744d691c3f591f212dcffb35d68d0b4076 (diff) | |
ported freeRTOS with lpc175x_6x, all host demo work
| -rw-r--r-- | demos/bsp/boards/lpcxpresso/board_lpcxpresso1769.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/bsp/boards/lpcxpresso/board_lpcxpresso1769.c b/demos/bsp/boards/lpcxpresso/board_lpcxpresso1769.c index 1f76faa8a..2a2e4b224 100644 --- a/demos/bsp/boards/lpcxpresso/board_lpcxpresso1769.c +++ b/demos/bsp/boards/lpcxpresso/board_lpcxpresso1769.c @@ -48,7 +48,10 @@ void board_init(void) { SystemInit(); + +#if TUSB_CFG_OS == TUSB_OS_NONE // TODO may move to main.c SysTick_Config(SystemCoreClock / CFG_TICKS_PER_SECOND); // 1 msec tick timer +#endif // Leds Init GPIO_SetDir(BOARD_LED_PORT, BIT_(BOARD_LED_PIN), 1); |
