summaryrefslogtreecommitdiff
path: root/openpicc/application/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'openpicc/application/main.c')
-rw-r--r--openpicc/application/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openpicc/application/main.c b/openpicc/application/main.c
index eb51aeb..fd776ec 100644
--- a/openpicc/application/main.c
+++ b/openpicc/application/main.c
@@ -46,6 +46,7 @@
#include "tc_cdiv.h"
#include "tc_cdiv_sync.h"
#include "tc_fdt.h"
+#include "usb_print.h"
/**********************************************************************/
static inline void prvSetupHardware (void)
@@ -79,12 +80,14 @@ void vApplicationIdleHook(void)
//vLedSetGreen(0);
disabled_green = 1;
}
+ usb_print_flush();
}
/**********************************************************************/
int main (void)
{
prvSetupHardware ();
+ usb_print_init();
pio_irq_init();
personal git repositories of Harald Welte. Your mileage may vary