]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/cmd_attach.c
Merge branch 'fatfs-integration' into fatcommands
[z180-stamp.git] / avr / cmd_attach.c
index e9b5ccdc0968186cd8e98cfb42f13b1b858e3cf4..fcc4f4951e02ae07249f4e6104b3253d756c2dbf 100644 (file)
@@ -8,9 +8,7 @@
  * attach channels to devices
  */
 
-#include "common.h"
-#include <string.h>
-#include <stdbool.h>
+#include "cmd_attach.h"
 
 #include "command.h"
 #include "z180-serv.h"
@@ -58,7 +56,7 @@ void printerror(int rc, uint8_t unit, char *fn)
  *
  */
 
-command_ret_t do_attach(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+command_ret_t do_attach(cmd_tbl_t *cmdtp, uint_fast8_t flag, int argc, char * const argv[])
 {
        uint8_t unit;
        char *filename = NULL;