Changeset 279 for EcnlProtoTool/trunk/prototool/src/arduino.h
- Timestamp:
- Apr 29, 2017, 4:33:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/prototool/src/arduino.h
r278 r279 30 30 #include <us_ticker_api.h> 31 31 #include <wait_api.h> 32 #include "diskio.h"33 #include "ff.h"34 32 35 33 #ifndef bool … … 116 114 117 115 typedef struct File { 118 FIL fp;116 int fd; 119 117 } File; 120 118 … … 130 128 int file_read(File *fd); 131 129 132 typedef struct SD {133 DSTATUS dst;134 BYTE type;135 FATFS FatFs;136 } SD;137 138 extern SD Sd;139 140 130 bool SD_begin(); 141 131 bool SD_open(File *file, const char *path, int mode); … … 147 137 148 138 typedef struct FILEEEP { 149 FIL fp;139 int fd; 150 140 } FILEEEP; 151 141
Note:
See TracChangeset
for help on using the changeset viewer.