diff options
| author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-20 10:02:30 +0000 |
|---|---|---|
| committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-20 10:02:30 +0000 |
| commit | e096e1e17bf39537933f3e76a81bd586ecab9fa8 (patch) | |
| tree | a4a10894ed72a4d53f67f4c12bcf1ff6d7748f2e /os/various | |
| parent | 34f6b80fd0691d60509cc4327cb28cb9c293337f (diff) | |
| download | ChibiOS-e096e1e17bf39537933f3e76a81bd586ecab9fa8.tar.gz ChibiOS-e096e1e17bf39537933f3e76a81bd586ecab9fa8.tar.bz2 ChibiOS-e096e1e17bf39537933f3e76a81bd586ecab9fa8.zip | |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8513 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various')
| -rw-r--r-- | os/various/shell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/various/shell.c b/os/various/shell.c index 4c2f3c6cd..0de6f449a 100644 --- a/os/various/shell.c +++ b/os/various/shell.c @@ -119,7 +119,7 @@ static bool cmdexec(const ShellCommand *scp, BaseSequentialStream *chp, char *name, int argc, char *argv[]) {
while (scp->sc_name != NULL) {
- if (strcasecmp(scp->sc_name, name) == 0) {
+ if (strcmp(scp->sc_name, name) == 0) {
scp->sc_function(chp, argc, argv);
return false;
}
@@ -161,14 +161,14 @@ static THD_FUNCTION(shell_thread, p) { }
args[n] = NULL;
if (cmd != NULL) {
- if (strcasecmp(cmd, "exit") == 0) {
+ if (strcmp(cmd, "exit") == 0) {
if (n > 0) {
usage(chp, "exit");
continue;
}
break;
}
- else if (strcasecmp(cmd, "help") == 0) {
+ else if (strcmp(cmd, "help") == 0) {
if (n > 0) {
usage(chp, "help");
continue;
|
