tbm-mcu/source/shell/echo.c

15 lines
204 B
C

#include <stdio.h>
#include <console.h>
#include <shell/echo.h>
void shell_echo(struct console *con, const char **argv, size_t argc)
{
if (argc < 1)
return;
fprintf(con->fp, "%s\n", argv[0]);
}