diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-10-23 11:39:45 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-10-23 11:39:45 +0000 |
commit | 309b1e411426e8d36d9a552ef2870da3db912a80 (patch) | |
tree | 5567c549d2ec3ed75d9deb228f2f6542e4b21b25 /demos/ARM7-AT91SAM7S-FATFS-GCC | |
parent | 78325ebdf2db30514e6b61e25b0c1894a8e29b79 (diff) | |
download | ChibiOS-309b1e411426e8d36d9a552ef2870da3db912a80.tar.gz ChibiOS-309b1e411426e8d36d9a552ef2870da3db912a80.tar.bz2 ChibiOS-309b1e411426e8d36d9a552ef2870da3db912a80.zip |
Improvements to the USB driver, first phase.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3449 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7S-FATFS-GCC')
-rw-r--r-- | demos/ARM7-AT91SAM7S-FATFS-GCC/main.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/demos/ARM7-AT91SAM7S-FATFS-GCC/main.c b/demos/ARM7-AT91SAM7S-FATFS-GCC/main.c index c525cdc54..582135cca 100644 --- a/demos/ARM7-AT91SAM7S-FATFS-GCC/main.c +++ b/demos/ARM7-AT91SAM7S-FATFS-GCC/main.c @@ -129,23 +129,7 @@ static void cmd_mem(BaseChannel *chp, int argc, char *argv[]) { }
static void cmd_threads(BaseChannel *chp, int argc, char *argv[]) {
- static const char *states[] = {
- "READY",
- "CURRENT",
- "SUSPENDED",
- "WTSEM",
- "WTMTX",
- "WTCOND",
- "SLEEPING",
- "WTEXIT",
- "WTOREVT",
- "WTANDEVT",
- "SNDMSGQ",
- "SNDMSG",
- "WTMSG",
- "WTQUEUE",
- "FINAL"
- };
+ static const char *states[] = {THD_STATE_NAMES};
Thread *tp;
(void)argv;
|