From 2025a2d75a086fb91cf2fb2247ccb06f737e5a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sat, 15 Dec 2012 14:13:57 +0000 Subject: [PATCH] long filename conversion hang on reset (worked fine on cold boot). Fixed. --- BaS_gcc/include/ffconf.h | 2 +- BaS_gcc/sources/BaS.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BaS_gcc/include/ffconf.h b/BaS_gcc/include/ffconf.h index aa9d085..2247451 100644 --- a/BaS_gcc/include/ffconf.h +++ b/BaS_gcc/include/ffconf.h @@ -90,7 +90,7 @@ */ -#define _USE_LFN 2 /* 0 to 3 */ +#define _USE_LFN 0 /* 0 to 3 */ #define _MAX_LFN 255 /* Maximum LFN length to handle (12 to 255) */ /* The _USE_LFN option switches the LFN support. / diff --git a/BaS_gcc/sources/BaS.c b/BaS_gcc/sources/BaS.c index c6fb42a..64a194f 100644 --- a/BaS_gcc/sources/BaS.c +++ b/BaS_gcc/sources/BaS.c @@ -222,6 +222,7 @@ void BaS(void) } f_close(&file); } + f_mount(0, 0L); /* release work area */ } xprintf("copy EmuTOS: ");