diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-21 04:36:57 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-21 04:36:57 +0000 |
commit | 64dfc1c67cb3e7c841836a8cda915ced07892330 (patch) | |
tree | 91629bd779558a6568a30c2abf7ddfa20615b9bc /openpicc/application | |
parent | 3597606419827cbf9d397fe77ed5c54a8eb6a63c (diff) |
Remove obsolete command
git-svn-id: https://svn.openpcd.org:2342/trunk@473 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application')
-rw-r--r-- | openpicc/application/cmd.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/openpicc/application/cmd.c b/openpicc/application/cmd.c index 412a349..b2b3d7a 100644 --- a/openpicc/application/cmd.c +++ b/openpicc/application/cmd.c @@ -169,7 +169,6 @@ extern volatile unsigned portLONG ulCriticalNesting; void prvExecCommand(u_int32_t cmd, portCHAR *args) { static int led = 0; portCHAR cByte = cmd & 0xff; - portLONG j; int i,ms; if(cByte>='A' && cByte<='Z') cByte-=('A'-'a'); @@ -184,24 +183,6 @@ void prvExecCommand(u_int32_t cmd, portCHAR *args) { // Note: Commands have been uppercased when this code is called switch(cmd) { - case 'TEST': - DumpStringToUSB("Testing critical sections\r\n"); - j=ulCriticalNesting; - DumpStringToUSB("Nesting is now "); - DumpUIntToUSB(j); - DumpStringToUSB("\n\r"); - taskENTER_CRITICAL(); - for(i=0; i<1000; i++) {;} - j=ulCriticalNesting; - taskEXIT_CRITICAL(); - DumpStringToUSB("Nesting was "); - DumpUIntToUSB(j); - DumpStringToUSB("\n\r"); - j=ulCriticalNesting; - DumpStringToUSB("Nesting is now "); - DumpUIntToUSB(j); - DumpStringToUSB("\n\r"); - break; case 'THRU': { /*char buffer[64]; memset(buffer, 'A', sizeof(buffer)); @@ -437,7 +418,6 @@ void prvExecCommand(u_int32_t cmd, portCHAR *args) { " * running on "); DumpStringToUSB(OPENPICC->release_name); DumpStringToUSB("\n\r *\n\r" - " * test - test critical sections\n\r" " * thru - test throughput\n\r" #if ( configUSE_TRACE_FACILITY == 1 ) " * t - print task list and stack usage\n\r" |