mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2025-07-31 12:41:06 +00:00
fix & update
This commit is contained in:
parent
0557a41f1a
commit
741520fa66
58 changed files with 6620 additions and 6810 deletions
|
|
@ -2568,7 +2568,6 @@ FRESULT f_read (
|
|||
UINT rcnt, cc;
|
||||
BYTE csect, *rbuff = (BYTE*)buff;
|
||||
|
||||
|
||||
*br = 0; /* Clear read byte counter */
|
||||
|
||||
res = validate(fp); /* Check validity */
|
||||
|
|
@ -2670,9 +2669,10 @@ FRESULT f_write (
|
|||
const BYTE *wbuff = (const BYTE*)buff;
|
||||
BYTE csect;
|
||||
|
||||
|
||||
*bw = 0; /* Clear write byte counter */
|
||||
|
||||
// rtl_printf("f_write(%p, %p, %d) = %d\n", fp, buff, btw);
|
||||
|
||||
res = validate(fp); /* Check validity */
|
||||
if (res != FR_OK) LEAVE_FF(fp->fs, res);
|
||||
if (fp->err) /* Check error */
|
||||
|
|
@ -2773,8 +2773,6 @@ FRESULT f_write (
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*-----------------------------------------------------------------------*/
|
||||
/* Synchronize the File */
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue