diff options
Diffstat (limited to 'openpicc/application/main.c')
-rw-r--r-- | openpicc/application/main.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/openpicc/application/main.c b/openpicc/application/main.c index 9af44bf..e722daa 100644 --- a/openpicc/application/main.c +++ b/openpicc/application/main.c @@ -39,7 +39,8 @@ #include "env.h" #include "cmd.h" #include "da.h" -//#include "pll.h" +#include "pll.h" +#include "pio_irq.h" /**********************************************************************/ static inline void prvSetupHardware (void) @@ -79,17 +80,21 @@ void vApplicationIdleHook(void) int main (void) { prvSetupHardware (); + + pio_irq_init(); vLedInit(); da_init(); + pll_init(); + xTaskCreate (vUSBCDCTask, (signed portCHAR *) "USB", TASK_USB_STACK, NULL, TASK_USB_PRIORITY, NULL); vCmdInit(); - vLedSetGreen(1); + //vLedSetGreen(1); vTaskStartScheduler (); |