X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/071e02c6b6b4837fa9cf0b6d4c749994e02638d7..e39f3378a21ae5076e8c49bc728c20e436e3a69f:/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.h?ds=sidebyside diff --git a/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.h b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.h index 4e9aa76f4..239d45913 100644 --- a/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.h +++ b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.h @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------- -/ PFF - Low level disk interface modlue include file (C)ChaN, 2010 +/ PFF - Low level disk interface module include file (C)ChaN, 2010 /-----------------------------------------------------------------------*/ #ifndef _DISKIO @@ -15,9 +15,8 @@ typedef BYTE DSTATUS; typedef enum { RES_OK = 0, /* 0: Function succeeded */ RES_ERROR, /* 1: Disk error */ - RES_STRERR, /* 2: Seream error */ - RES_NOTRDY, /* 3: Not ready */ - RES_PARERR /* 4: Invalid parameter */ + RES_NOTRDY, /* 2: Not ready */ + RES_PARERR /* 3: Invalid parameter */ } DRESULT; @@ -25,12 +24,11 @@ typedef enum { /* Prototypes for disk control functions */ DSTATUS disk_initialize (void); -DRESULT disk_readp (void*, DWORD, WORD, WORD); - -BOOL assign_drives (int argc, char *argv[]); +DRESULT disk_readp (BYTE*, DWORD, WORD, WORD); #define STA_NOINIT 0x01 /* Drive not initialized */ #define STA_NODISK 0x02 /* No medium in the drive */ #define _DISKIO #endif +