altos: Make stm-flash capable of switching to application
[fw/altos] / src / core / ao_task.c
index c24c992927782438e35cba1871e2d643be656760..0aad650898d9c54dddca6d53e6fa2c799aec89d8 100644 (file)
@@ -512,6 +512,7 @@ ao_exit(void)
        /* we'll never get back here */
 }
 
+#if HAS_TASK_INFO
 void
 ao_task_info(void)
 {
@@ -528,6 +529,7 @@ ao_task_info(void)
        ao_task_validate();
 #endif
 }
+#endif
 
 void
 ao_start_scheduler(void)