From: Keith Packard Date: Mon, 19 Mar 2012 05:09:20 +0000 (-0700) Subject: Add AO_PANIC_STACK X-Git-Tag: 1.0.9.4~27 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=0cc01d378ae96325e429ad608b953661582939b0 Add AO_PANIC_STACK Provide a panic code for stack overflow. Signed-off-by: Keith Packard --- diff --git a/src/core/ao.h b/src/core/ao.h index ac51c270..86a943a8 100644 --- a/src/core/ao.h +++ b/src/core/ao.h @@ -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