altos: Make stm-flash capable of switching to application
[fw/altos] / src / stm-flash / ao_stm_flash.c
index df466d8553de86eb9c0d342071f85801732c42c5..e2d7ec65a4b463a1f337702771607302ea5b0943 100644 (file)
@@ -118,6 +118,7 @@ __code struct ao_cmds ao_flash_cmds[] = {
        { 0, NULL },
 };
 
+
 int
 main(void)
 {
@@ -131,6 +132,7 @@ main(void)
 //     ao_exti_init();
        ao_usb_init();
 
+       ao_cmd_register(&ao_flash_cmds[0]);
        ao_cmd_register(&ao_flash_cmds[0]);
        ao_start_scheduler();
        return 0;