Compare commits
2 Commits
259ad0a6f1
...
ae59563e7d
| Author | SHA1 | Date | |
|---|---|---|---|
| ae59563e7d | |||
| 42aec53edb |
12
CLI/CLI.c
12
CLI/CLI.c
@ -128,7 +128,11 @@ void historyPrevius(CLI_t* cli)
|
||||
// write line
|
||||
if ((ret >= 0) && (line != NULL))
|
||||
{
|
||||
CLI_stringOut(cli, line);
|
||||
int i;
|
||||
for (i=0; *(line + i) != '\0'; i++)
|
||||
{
|
||||
CLI_charIn(cli, *(line + i));
|
||||
}
|
||||
}
|
||||
}
|
||||
void historyNext(CLI_t* cli)
|
||||
@ -147,7 +151,11 @@ void historyNext(CLI_t* cli)
|
||||
// write line
|
||||
if ((ret >= 0) && (line != NULL))
|
||||
{
|
||||
CLI_stringOut(cli, line);
|
||||
int i;
|
||||
for (i=0; *(line + i) != '\0'; i++)
|
||||
{
|
||||
CLI_charIn(cli, *(line + i));
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user