]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/command.c
Code reorg and cleanup
[z180-stamp.git] / avr / command.c
index f1e184a65c973b70260c2e7ce052bb96c55864d2..2b53adfe921beb3d5a837021dbf0bea087593d5f 100644 (file)
@@ -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)
 {