diff options
author | Keith Packard <keithp@keithp.com> | 2010-06-16 21:49:43 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-06-16 21:49:43 -0700 |
commit | 267923e56e22b3635a21f42ef77a3a36158bc273 (patch) | |
tree | a54ea6358d1a3b0c769846dd347e304665a16d66 /src/ao.h | |
parent | 50ae347bf9de49ccfc92d26888f36e155fb406a3 (diff) |
Add special code for USB panic's.
The USB system may panic if the hardware isn't ready for IN data when
the driver thinks it should be. This adds a special panic code to make
figuring this out easier.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r-- | src/ao.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -110,6 +110,7 @@ ao_start_scheduler(void); #define AO_PANIC_STDIO 7 /* Too many stdio handlers registered */ #define AO_PANIC_REBOOT 8 /* Reboot failed */ #define AO_PANIC_FLASH 9 /* Invalid flash part (or wrong blocksize) */ +#define AO_PANIC_USB 10 /* Trying to send USB packet while busy */ /* Stop the operating system, beeping and blinking the reason */ void |