summaryrefslogtreecommitdiff
path: root/avr/cmd_echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/cmd_echo.c')
-rw-r--r--avr/cmd_echo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avr/cmd_echo.c b/avr/cmd_echo.c
index d142ab6..7ab8fef 100644
--- a/avr/cmd_echo.c
+++ b/avr/cmd_echo.c
@@ -9,7 +9,7 @@
#include "command.h"
-int do_echo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+command_ret_t do_echo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
uint_fast8_t putnl = 1;
@@ -45,7 +45,7 @@ int do_echo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if (putnl)
putchar('\n');
- return 0;
+ return CMD_RET_SUCCESS;
}
#if 0