projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix definition for lm3s8962.
[bertos.git]
/
bertos
/
fs
/
fatfs
/
diskio.h
diff --git
a/bertos/fs/fatfs/diskio.h
b/bertos/fs/fatfs/diskio.h
index 6fde2dde9ce1ee5f91d991b0561d28cf7be38a9b..ea2ca943dd8daddd0b826e904a8edd2cf1f36bdd 100644
(file)
--- a/
bertos/fs/fatfs/diskio.h
+++ b/
bertos/fs/fatfs/diskio.h
@@
-8,6
+8,7
@@
#define _USE_IOCTL 1
#include "integer.h"
#define _USE_IOCTL 1
#include "integer.h"
+#include <io/kblock.h>
/* Status of Disk Functions */
/* Status of Disk Functions */
@@
-25,7
+26,7
@@
typedef enum {
/*---------------------------------------*/
/* Prototypes for disk control functions */
/*---------------------------------------*/
/* Prototypes for disk control functions */
-
+void disk_assignDrive(KBlock *dev, int dev_num);
BOOL assign_drives (int argc, char *argv[]);
DSTATUS disk_initialize (BYTE);
DSTATUS disk_status (BYTE);
BOOL assign_drives (int argc, char *argv[]);
DSTATUS disk_initialize (BYTE);
DSTATUS disk_status (BYTE);
@@
-37,6
+38,7
@@
DRESULT disk_ioctl (BYTE, BYTE, void*);
+
/* Disk Status Bits (DSTATUS) */
#define STA_NOINIT 0x01 /* Drive not initialized */
/* Disk Status Bits (DSTATUS) */
#define STA_NOINIT 0x01 /* Drive not initialized */