Skip to content

Commit 78a020a

Browse files
committed
Close root in CardInfo example
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 588b74f commit 78a020a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/CardInfo/CardInfo.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ void setup()
8484

8585
// list all files in the card with date and size
8686
root.ls(LS_R | LS_DATE | LS_SIZE);
87+
root.close();
8788
Serial.println("###### End of the SD tests ######");
8889
}
8990

0 commit comments

Comments
 (0)