fix: 内源检视修复
Signed-off-by: arvinzzz <zhaotianyu9@huawei.com> Change-Id: Ic8f63a512a5b2c88e7abee6c167473f37ecc9f3b
This commit is contained in:
@@ -584,7 +584,7 @@ ssize_t FatfsWrite(struct File *file, const char *buf, size_t nbyte)
|
||||
res = f_write(fp, buf, nbyte, &lenWrite);
|
||||
if ((res == FR_OK) && (lenWrite == 0) && (nbyte != 0) && (overFlow == FALSE)) {
|
||||
overFlow = TRUE;
|
||||
PRINT_ERR("FAT write!\r\n");
|
||||
PRINT_ERR("FAT write err!\r\n");
|
||||
}
|
||||
|
||||
if ((res != FR_OK) || (nbyte != lenWrite)) {
|
||||
|
||||
Reference in New Issue
Block a user