From 414caa77d5709bf3372d1f9245312781eee7961b Mon Sep 17 00:00:00 2001 From: Leo C Date: Fri, 31 Aug 2018 23:36:06 +0200 Subject: error handling: improved cmd_error() - print fatfs error strings --- include/cmd_fat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cmd_fat.h') diff --git a/include/cmd_fat.h b/include/cmd_fat.h index ed96a52..222b14c 100644 --- a/include/cmd_fat.h +++ b/include/cmd_fat.h @@ -8,9 +8,11 @@ #define CMD_FAT_H #include "command.h" +#include "ff.h" extern cmd_tbl_t cmd_tbl_fat[]; +const FLASH char * fat_rctostr(FRESULT rc); command_ret_t do_fat(cmd_tbl_t *, uint_fast8_t, int, char * const []); void setup_fatfs(void); -- cgit v1.2.3