X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/376160e2c072a7d76560f1a864c02730ee684e62..c4aeb6d5abc2a42f69388e33394a6f43740486ef:/Projects/TempDataLogger/Lib/FATFs/diskio.c diff --git a/Projects/TempDataLogger/Lib/FATFs/diskio.c b/Projects/TempDataLogger/Lib/FATFs/diskio.c index 400687734..085d5aec6 100644 --- a/Projects/TempDataLogger/Lib/FATFs/diskio.c +++ b/Projects/TempDataLogger/Lib/FATFs/diskio.c @@ -38,7 +38,7 @@ DRESULT disk_read ( BYTE drv, /* Physical drive number (0..) */ BYTE *buff, /* Data buffer to store read data */ DWORD sector, /* Sector address (LBA) */ - BYTE count /* Number of sectors to read (1..255) */ + BYTE count /* Number of sectors to read (1..128) */ ) { DataflashManager_ReadBlocks_RAM(sector, count, buff); @@ -55,7 +55,7 @@ DRESULT disk_write ( BYTE drv, /* Physical drive number (0..) */ const BYTE *buff, /* Data to be written */ DWORD sector, /* Sector address (LBA) */ - BYTE count /* Number of sectors to write (1..255) */ + BYTE count /* Number of sectors to write (1..128) */ ) { DataflashManager_WriteBlocks_RAM(sector, count, buff);