altos: Add new panic flag for bufio misuse
[fw/altos] / src / core / ao.h
index 6cfdcba851ba14752819718acd4c7a4ee7ab367a..6d617cfc89a2793631029f170dfcba62d6371b34 100644 (file)
@@ -65,6 +65,7 @@
 #define AO_PANIC_STACK         12      /* Stack overflow */
 #define AO_PANIC_SPI           13      /* SPI communication failure */
 #define AO_PANIC_CRASH         14      /* Processor crashed */
+#define AO_PANIC_BUFIO         15      /* Mis-using bufio API */
 #define AO_PANIC_SELF_TEST_CC1120      0x40 | 1        /* Self test failure */
 #define AO_PANIC_SELF_TEST_HMC5883     0x40 | 2        /* Self test failure */
 #define AO_PANIC_SELF_TEST_MPU6000     0x40 | 3        /* Self test failure */