summaryrefslogtreecommitdiff
path: root/avr/cmd_echo.c
diff options
context:
space:
mode:
authorLeo C2014-08-20 14:01:11 +0200
committerLeo C2014-08-20 14:01:11 +0200
commitd0581f881c4072ef0ac453167a98dc3bc0d87d86 (patch)
tree0aa6c87d8e0184e7a884171cb5b30275283156ad /avr/cmd_echo.c
parent4bc81323e51ac138e733c14eeb6f283ae706e904 (diff)
downloadz180-stamp-d0581f881c4072ef0ac453167a98dc3bc0d87d86.zip
enum command_ret_t --> typedef
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