diff options
Diffstat (limited to 'software/mpu/main.c')
-rw-r--r-- | software/mpu/main.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/software/mpu/main.c b/software/mpu/main.c index 8f411d5..bf85609 100644 --- a/software/mpu/main.c +++ b/software/mpu/main.c @@ -34,6 +34,7 @@ #include "hal.h" #include "heartbeat.h" +#include "usb-cdc-shell.h" /* * Application entry point. @@ -50,14 +51,9 @@ int main(void) { halInit(); chSysInit(); - heartbeatInit(); - - /* - * Normal main() thread activity, in this demo it does nothing except - * sleeping in a loop. - */ + usbCDCShellInit(); while (TRUE) { - chThdSleepMilliseconds(10000); + usbCDCShellRun(); } } |