From 9ef43accbcfdb5ca924c907b84a4e268e4d52ab0 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Thu, 20 Dec 2012 16:26:46 +0100 Subject: [PATCH] fixes #832 --- libraries/SD/examples/listfiles/listfiles.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/SD/examples/listfiles/listfiles.ino b/libraries/SD/examples/listfiles/listfiles.ino index 876c3f865..d403073b6 100644 --- a/libraries/SD/examples/listfiles/listfiles.ino +++ b/libraries/SD/examples/listfiles/listfiles.ino @@ -76,6 +76,7 @@ void printDirectory(File dir, int numTabs) { Serial.print("\t\t"); Serial.println(entry.size(), DEC); } + entry.close(); } }