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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user