diff options
author | midopple <mdoppler@gmx.at> | 2012-03-04 18:01:43 +0100 |
---|---|---|
committer | midopple <mdoppler@gmx.at> | 2012-03-04 18:01:43 +0100 |
commit | bcef226413df81e24b68d5c68420cc88bbed10ff (patch) | |
tree | e516a1cfa71df6320e80debb85b596a0e4c4c8f9 /Sprinter/SdFat.h | |
parent | 0ada66f1123e12de8a4b31b599571e7255cf18bf (diff) | |
parent | 0a47e2d0b6493eeba856d9c71bafc9f97abd3ec3 (diff) |
Merge commit 'from changwoo/arduino-1.0-compatibility' into experimental
Diffstat (limited to 'Sprinter/SdFat.h')
-rw-r--r-- | Sprinter/SdFat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Sprinter/SdFat.h b/Sprinter/SdFat.h index 048fa71..7a11bba 100644 --- a/Sprinter/SdFat.h +++ b/Sprinter/SdFat.h @@ -283,7 +283,11 @@ class SdFile : public Print { }
/** \return SdVolume that contains this file. */
SdVolume* volume(void) const {return vol_;}
+#if ARDUINO >= 100
+ size_t write(uint8_t b);
+#else
void write(uint8_t b);
+#endif
int16_t write(const void* buf, uint16_t nbyte);
void write(const char* str);
void write_P(PGM_P str);
|