Add AO_PANIC_STACK
[fw/altos] / src / core / ao.h
index ac51c270601608cb5e87302e8ed7aa99feae7fb9..86a943a8f1e832746191f44298eba1c838ac64ae 100644 (file)
@@ -113,6 +113,7 @@ ao_start_scheduler(void);
 #define AO_PANIC_FLASH         9       /* Invalid flash part (or wrong blocksize) */
 #define AO_PANIC_USB           10      /* Trying to send USB packet while busy */
 #define AO_PANIC_BT            11      /* Communications with bluetooth device failed */
+#define AO_PANIC_STACK         12      /* Stack overflow */
 
 /* Stop the operating system, beeping and blinking the reason */
 void