mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 06:12:43 +01:00
* fix shell entry finder
This commit is contained in:
parent
5b47352bcf
commit
aa174e886e
@ -55,7 +55,7 @@ static void(*find_handler(const shell_command_t *command_list, char *command))(c
|
||||
if ( strcmp(entry->name, command) == 0) {
|
||||
return entry->handler;
|
||||
} else {
|
||||
command_list++;
|
||||
entry++;
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user