projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Studio Integration DLL, to include package logging.
[pub/USBasp.git]
/
Projects
/
TempDataLogger
/
Lib
/
FATFs
/
diskio.h
diff --git
a/Projects/TempDataLogger/Lib/FATFs/diskio.h
b/Projects/TempDataLogger/Lib/FATFs/diskio.h
index
5df7750
..
d3c3149
100644
(file)
--- a/
Projects/TempDataLogger/Lib/FATFs/diskio.h
+++ b/
Projects/TempDataLogger/Lib/FATFs/diskio.h
@@
-2,10
+2,12
@@
/ Low level disk interface module include file
/-----------------------------------------------------------------------*/
/ Low level disk interface module include file
/-----------------------------------------------------------------------*/
-#ifndef _DISKIO
+#ifndef _DISKIO_DEFINED
+#define _DISKIO_DEFINED
-#define _READONLY 0 /* 1: Read-only mode */
-#define _USE_IOCTL 1
+#ifdef __cplusplus
+extern "C" {
+#endif
#include "integer.h"
#include "integer.h"
@@
-43,7
+45,11
@@
DRESULT disk_ioctl (BYTE, BYTE, void*);
#define STA_NODISK 0x02 /* No medium in the drive */
#define STA_PROTECT 0x04 /* Write protected */
#define STA_NODISK 0x02 /* No medium in the drive */
#define STA_PROTECT 0x04 /* Write protected */
+/* Generic command */
+#define CTRL_SYNC 0 /* Mandatory for write functions */
-#define _DISKIO
+#ifdef __cplusplus
+}
#endif
#endif
+#endif