make it compile with arduino 1.0 ; function is still untested.

This commit is contained in:
Bernhard
2011-12-01 16:38:01 +01:00
parent b0c3871750
commit 0bc9daa4f7
8 changed files with 675 additions and 651 deletions

View File

@ -51,7 +51,12 @@ int16_t SdFile::write(const void* buf, uint16_t nbyte) {
* \param[in] b the byte to be written.
* Use writeError to check for errors.
*/
void SdFile::write(uint8_t b) {
#if ARDUINO >= 100
size_t SdFile::write(uint8_t b)
#else
void SdFile::write(uint8_t b)
#endif
{
SdBaseFile::write(&b, 1);
}
//------------------------------------------------------------------------------