We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 407774a commit a94953fCopy full SHA for a94953f
2 files changed
source/fatfs/ffconf.h
@@ -84,7 +84,7 @@
84
/ Locale and Namespace Configurations
85
/---------------------------------------------------------------------------*/
86
87
-#define FF_CODE_PAGE 932
+#define FF_CODE_PAGE 437
88
/* This option specifies the OEM code page to be used on the target system.
89
/ Incorrect code page setting can cause a file open failure.
90
/
source/fs.c
@@ -38,7 +38,7 @@ int NAND_GetFileSize(const char* filepath, size_t* size) {
38
if (size)
39
*size = 0;
40
41
- int fd = ISFS_Open(filepath, 0);
+ int fd = ISFS_Open(filepath, ISFS_OPEN_READ);
42
if (fd < 0)
43
return fd;
44
0 commit comments