|
@ -47,13 +47,14 @@ SdFile::SdFile(const char* path, uint8_t oflag) : SdBaseFile(path, oflag) { |
|
|
int16_t SdFile::write(const void* buf, uint16_t nbyte) { |
|
|
int16_t SdFile::write(const void* buf, uint16_t nbyte) { |
|
|
return SdBaseFile::write(buf, nbyte); |
|
|
return SdBaseFile::write(buf, nbyte); |
|
|
} |
|
|
} |
|
|
|
|
|
#warning F_CPU |
|
|
//------------------------------------------------------------------------------
|
|
|
//------------------------------------------------------------------------------
|
|
|
/** Write a byte to a file. Required by the Arduino Print class.
|
|
|
/** Write a byte to a file. Required by the Arduino Print class.
|
|
|
* \param[in] b the byte to be written. |
|
|
* \param[in] b the byte to be written. |
|
|
* Use writeError to check for errors. |
|
|
* Use writeError to check for errors. |
|
|
*/ |
|
|
*/ |
|
|
#if ARDUINO >= 100 |
|
|
#if ARDUINO >= 100 |
|
|
size_t SdFile::write(uint8_t b) |
|
|
size_t SdFile::write(uint8_t b) |
|
|
#else |
|
|
#else |
|
|
void SdFile::write(uint8_t b) |
|
|
void SdFile::write(uint8_t b) |
|
|
#endif |
|
|
#endif |
|
|