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/Posix-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/Posix-GCC')
-rw-r--r-- | demos/Posix-GCC/main.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/demos/Posix-GCC/main.c b/demos/Posix-GCC/main.c index 543386a85..4904edec0 100644 --- a/demos/Posix-GCC/main.c +++ b/demos/Posix-GCC/main.c @@ -51,23 +51,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;
|