aboutsummaryrefslogtreecommitdiff
path: root/libraries/Bridge/FileIO.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Bridge/FileIO.h')
-rw-r--r--libraries/Bridge/FileIO.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/Bridge/FileIO.h b/libraries/Bridge/FileIO.h
index 19da646..4485215 100644
--- a/libraries/Bridge/FileIO.h
+++ b/libraries/Bridge/FileIO.h
@@ -21,9 +21,6 @@
#include <Process.h>
-//#define FILE_READ O_READ
-//#define FILE_WRITE (O_READ | O_WRITE | O_CREAT)
-
#define FILE_READ 0
#define FILE_WRITE 1
#define FILE_APPEND 2
@@ -50,10 +47,10 @@ public:
const char * name();
boolean isDirectory(void);
- //File openNextFile(uint8_t mode = O_RDONLY);
+ File openNextFile(uint8_t mode = FILE_READ);
void rewindDirectory(void);
- using Print::write;
+ //using Print::write;
private:
void doBuffer();