diff options
| author | Drashna Jaelre <drashna@live.com> | 2019-08-02 14:02:40 -0700 |
|---|---|---|
| committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-08-30 15:01:52 -0700 |
| commit | cf4575b94a3c65e6535a159fc71fc885aebc2620 (patch) | |
| tree | 2354f2b7a200e02246a564afefedc32357e62b8e /lib/lufa/Projects/Webserver/Lib/FATFs/diskio.h | |
| parent | 75ee8df19e0f14ba466f41ab673dde2fe2fdae9c (diff) | |
| download | qmk_firmware-cf4575b94a3c65e6535a159fc71fc885aebc2620.tar.gz qmk_firmware-cf4575b94a3c65e6535a159fc71fc885aebc2620.zip | |
Fix the LUFA lib to use a submodule instead of just files (#6245)
* Remove LUFA files
* Update descriptions for newer version of LUFA
* Create PR6245.md
* Fix CDC(Serial) type errors
* Fix missed merge conflict for AUDIO_DTYPE_CSInterface
Diffstat (limited to 'lib/lufa/Projects/Webserver/Lib/FATFs/diskio.h')
| -rw-r--r-- | lib/lufa/Projects/Webserver/Lib/FATFs/diskio.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/lib/lufa/Projects/Webserver/Lib/FATFs/diskio.h b/lib/lufa/Projects/Webserver/Lib/FATFs/diskio.h deleted file mode 100644 index 65e3048a0..000000000 --- a/lib/lufa/Projects/Webserver/Lib/FATFs/diskio.h +++ /dev/null | |||
| @@ -1,52 +0,0 @@ | |||
| 1 | /*----------------------------------------------------------------------- | ||
| 2 | / Low level disk interface module include file | ||
| 3 | /-----------------------------------------------------------------------*/ | ||
| 4 | |||
| 5 | #ifndef _DISKIO_DEFINED | ||
| 6 | #define _DISKIO_DEFINED | ||
| 7 | |||
| 8 | #ifdef __cplusplus | ||
| 9 | extern "C" { | ||
| 10 | #endif | ||
| 11 | |||
| 12 | #include "integer.h" | ||
| 13 | #include "ff.h" | ||
| 14 | |||
| 15 | #include "../DataflashManager.h" | ||
| 16 | |||
| 17 | |||
| 18 | /* Status of Disk Functions */ | ||
| 19 | typedef BYTE DSTATUS; | ||
| 20 | |||
| 21 | /* Results of Disk Functions */ | ||
| 22 | typedef enum { | ||
| 23 | RES_OK = 0, /* 0: Successful */ | ||
| 24 | RES_ERROR, /* 1: R/W Error */ | ||
| 25 | RES_WRPRT, /* 2: Write Protected */ | ||
| 26 | RES_NOTRDY, /* 3: Not Ready */ | ||
| 27 | RES_PARERR /* 4: Invalid Parameter */ | ||
| 28 | } DRESULT; | ||
| 29 | |||
| 30 | |||
| 31 | /*---------------------------------------*/ | ||
| 32 | /* Prototypes for disk control functions */ | ||
| 33 | |||
| 34 | DSTATUS disk_initialize (BYTE); | ||
| 35 | DSTATUS disk_status (BYTE); | ||
| 36 | DRESULT disk_read (BYTE, BYTE*, DWORD, BYTE); | ||
| 37 | DRESULT disk_write (BYTE, const BYTE*, DWORD, BYTE); | ||
| 38 | DRESULT disk_ioctl (BYTE, BYTE, void*); | ||
| 39 | |||
| 40 | |||
| 41 | /* Disk Status Bits (DSTATUS) */ | ||
| 42 | |||
| 43 | #define STA_NOINIT 0x01 /* Drive not initialized */ | ||
| 44 | #define STA_NODISK 0x02 /* No medium in the drive */ | ||
| 45 | #define STA_PROTECT 0x04 /* Write protected */ | ||
| 46 | |||
| 47 | |||
| 48 | #ifdef __cplusplus | ||
| 49 | } | ||
| 50 | #endif | ||
| 51 | |||
| 52 | #endif | ||
