From 72f5882239bb88b8a68f305802e0dde37a975604 Mon Sep 17 00:00:00 2001 From: Leo C Date: Wed, 13 Aug 2014 21:00:21 +0200 Subject: Add memory commands (cmp, cp, md, mm, mw, nm) Add kind of scheduler for background tasks --- avr/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'avr/command.c') diff --git a/avr/command.c b/avr/command.c index ad39006..9af1c32 100644 --- a/avr/command.c +++ b/avr/command.c @@ -67,7 +67,7 @@ int cmd_tbl_item_count(void) * for long help messages */ -int _do_help (cmd_tbl_t *cmd_start, int cmd_items, cmd_tbl_t * cmdtp, +int _do_help(cmd_tbl_t *cmd_start, int cmd_items, cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) { uint_fast8_t i; @@ -177,6 +177,7 @@ int cmd_usage(const FLASH cmd_tbl_t *cmdtp) // printf("Usage:\n%s ", cmdtp->name); my_puts_P(PSTR("Usage:\n")); my_puts_P(cmdtp->name); + putchar(' '); if (!cmdtp->help) { my_puts_P(PSTR(" - No additional help available.\n")); -- cgit v1.2.3