1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Fixing warnings (David H. Lynch Jr).

This commit is contained in:
David A. Mellis
2011-03-03 22:56:20 -05:00
parent fe8af70c61
commit d59fcb8eed
6 changed files with 47 additions and 48 deletions

View File

@ -27,7 +27,7 @@ void File::write(const uint8_t *buf, size_t size) {
}
int File::peek() {
char c = SD.file.read();
int c = SD.file.read();
if (c != -1) SD.file.seekCur(-1);
return c;
}