summaryrefslogtreecommitdiff
path: root/avr/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/main.c')
-rw-r--r--avr/main.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/avr/main.c b/avr/main.c
index 86dcc50..1e5a6f9 100644
--- a/avr/main.c
+++ b/avr/main.c
@@ -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() */