diff options
author | Leo C | 2018-04-04 00:08:52 +0200 |
---|---|---|
committer | Leo C | 2018-07-21 12:02:05 +0200 |
commit | 8a2b0da07c62b1ab1d9d2240268fbf71f59421dd (patch) | |
tree | 6680c4224313e251cb57635e96dd9cd3d904aacc /avr/main.c | |
parent | 1d390146e3186c0eb94df0a1da8618fc89480127 (diff) | |
download | z180-stamp-8a2b0da07c62b1ab1d9d2240268fbf71f59421dd.zip |
fat commands are now subcommands of a single fat command. Added 'fat cd' and 'fat pwd'.
Diffstat (limited to 'avr/main.c')
-rw-r--r-- | avr/main.c | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -24,6 +24,8 @@ #include "time.h" #include "rtc.h" #include "debug.h" +#include "cmd_fat.h" + uint8_t mcusr __attribute__ ((section (".noinit"))); @@ -146,16 +148,6 @@ void setup_system_time(void) } - -static void setup_fatfs(void) -{ - static FATFS FatFs0; - static FATFS FatFs1; - - f_mount(&FatFs0, "0:", 0); - f_mount(&FatFs1, "1:", 0); -} - /*--------------------------------------------------------------------------*/ /* Stored value of bootdelay, used by autoboot_command() */ |