diff options
| author | Keith Packard <keithp@keithp.com> | 2012-03-18 22:09:20 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-03-28 21:37:02 -0700 | 
| commit | 0cc01d378ae96325e429ad608b953661582939b0 (patch) | |
| tree | dd3f3bffa86658a44debc02c35526ffbd0119f05 /src/core | |
| parent | 1ca46760cf903860dccb4864578558a1abb6e0fa (diff) | |
Add AO_PANIC_STACK
Provide a panic code for stack overflow.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/ao.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| 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 | 
