This commit is contained in:
parent
5ef8786e20
commit
e47865d36d
|
@ -157,7 +157,7 @@
|
|||
/**
|
||||
* Do we need file logging (like SD card) logic?
|
||||
*/
|
||||
#define EFI_FILE_LOGGING FALSE
|
||||
#define EFI_FILE_LOGGING TRUE
|
||||
|
||||
#ifndef EFI_USB_SERIAL
|
||||
#define EFI_USB_SERIAL TRUE
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
FATFSSRC = ${CHIBIOS}/os/various/fatfs_bindings/fatfs_diskio.c \
|
||||
${CHIBIOS}/os/various/fatfs_bindings/fatfs_syscall.c \
|
||||
${PROJECT_DIR}/ext/ff.c \
|
||||
${PROJECT_DIR}/ext/ffunicode.c \
|
||||
${PROJECT_DIR}/ext/option/unicode.c
|
||||
|
||||
FATFSINC = ${PROJECT_DIR}/ext
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#define FFCONF_DEF 87030 /* Revision ID */
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------/
|
||||
/ Function Configurations
|
||||
/---------------------------------------------------------------------------*/
|
||||
|
@ -101,8 +100,8 @@
|
|||
*/
|
||||
|
||||
|
||||
#define FF_USE_LFN 3
|
||||
#define FF_MAX_LFN 255
|
||||
#define FF_USE_LFN 2
|
||||
#define FF_MAX_LFN 32
|
||||
/* The FF_USE_LFN switches the support for LFN (long file name).
|
||||
/
|
||||
/ 0: Disable LFN. FF_MAX_LFN has no effect.
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -267,7 +267,7 @@ static void listDirectory(const char *path) {
|
|||
if ((fno.fattrib & AM_DIR) || mystrncasecmp(RUSEFI_LOG_PREFIX, fno.fname, sizeof(RUSEFI_LOG_PREFIX) - 1)) {
|
||||
continue;
|
||||
}
|
||||
scheduleMsg(&logger, "logfile%lu:%s", fno.fsize, fno.lfname[0] == 0 ? fno.fname : fno.lfname);
|
||||
scheduleMsg(&logger, "logfile%lu:%s", fno.fsize, fno.fname);
|
||||
count++;
|
||||
|
||||
// scheduleMsg(&logger, "%c%c%c%c%c %u/%02u/%02u %02u:%02u %9lu %-12s", (fno.fattrib & AM_DIR) ? 'D' : '-',
|
||||
|
|
Loading…
Reference in New Issue