Skip to content

Commit ba78cb1

Browse files
committed
Added newline to error message. Release 1.01
1 parent 3797b23 commit ba78cb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/.DS_Store

0 Bytes
Binary file not shown.

libraries/SD/SD.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,15 +462,15 @@ File SDClass::open(const char *filepath, uint8_t mode) {
462462
// failed to open the file :(
463463
Serial.println("ERR in SDClass:open:Failed to open the file (parentdir is root)");
464464
Serial.print("filepath=");
465-
Serial.print(filepath);
465+
Serial.println(filepath);
466466
return File();
467467
}
468468
// dont close the root!
469469
} else {
470470
if ( ! file.open(parentdir, filepath, mode)) {
471471
Serial.println("ERR in SDClass:open:Failed to open the file (parentdir is NOT root)");
472472
Serial.print("filepath=");
473-
Serial.print(filepath);
473+
Serial.println(filepath);
474474
return File();
475475
}
476476
// close the parent

0 commit comments

Comments
 (0)