Merge branch 'prepare_for_master' of https://git.trustie.net/xuos/xiuos into jerryscript
This commit is contained in:
@@ -493,3 +493,15 @@ DWORD GetFatTime(void)
|
||||
|
||||
return fat_time;
|
||||
}
|
||||
|
||||
void FatfsPrintf(struct FileDescriptor *fdp, const void *src, size_t len)
|
||||
{
|
||||
int i = 0;
|
||||
for (i = 0; i < len; i ++) {
|
||||
f_printf(fdp->data, "%d,", ((uint8 *)src)[i]);
|
||||
}
|
||||
if (i == len) {
|
||||
f_printf(fdp->data, "\r\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
/ 3: f_lseek() function is removed in addition to 2. */
|
||||
|
||||
|
||||
#define FF_USE_STRFUNC 0
|
||||
#define FF_USE_STRFUNC 1
|
||||
/* This option switches string functions, f_gets(), f_putc(), f_puts() and f_printf().
|
||||
/
|
||||
/ 0: Disable string functions.
|
||||
|
||||
Reference in New Issue
Block a user