diff options
author | Leo C | 2014-10-15 23:44:26 +0200 |
---|---|---|
committer | Leo C | 2014-10-15 23:44:26 +0200 |
commit | 8f23e84c6a08a384d25582f9cf79c4f5549bc852 (patch) | |
tree | d1543d82c228a1fcdfae21d2d88c88d0317a9a63 /avr/command.c | |
parent | 70c994914510f9db3ff71373cb96f50ee1669446 (diff) | |
download | z180-stamp-8f23e84c6a08a384d25582f9cf79c4f5549bc852.zip |
Code reorg and cleanup
Diffstat (limited to 'avr/command.c')
-rw-r--r-- | avr/command.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/avr/command.c b/avr/command.c index f1e184a..2b53adf 100644 --- a/avr/command.c +++ b/avr/command.c @@ -1,29 +1,24 @@ - /* * Command Processor Table */ #include "common.h" - +#include <stdlib.h> #include <string.h> #include <ctype.h> -#include <stdlib.h> #include <stdio.h> +#include <avr/pgmspace.h> #include "config.h" -#include "debug.h" +#include "print-utils.h" #include "con-utils.h" +#ifdef CONFIG_AUTO_COMPLETE #include "env.h" -#include "timer.h" +#endif +#include "debug.h" #include "command.h" -static void print_blanks(int_fast8_t count) -{ - while(count--) - my_puts_P(PSTR(" ")); -} - static void print_usage_line(const FLASH char *name, int width, const FLASH char *usage) { |