clean up
This commit is contained in:
1 parent
c76c4c7027
commit
6ee14d6a93
3 files changed
+7
-8
No files matched your search
@@ -26,10 +26,7 @@ void setup()
|
||||
// Wait for user input to run.
|
||||
Serial.println("This sketch will destroy all of your data in External Flash!");
|
||||
Serial.print("Enter any keys to continue:");
|
||||
while ( !Serial.available() )
|
||||
{
|
||||
delay(1);
|
||||
}
|
||||
while ( !Serial.available() ) delay(10);
|
||||
Serial.println();
|
||||
Serial.println();
|
||||
|
||||
@@ -37,13 +34,11 @@ void setup()
|
||||
ExternalFS.begin();
|
||||
|
||||
Serial.print("Formating ...");
|
||||
delay(1);
|
||||
|
||||
// Format without erase
|
||||
ExternalFS.format(true);
|
||||
|
||||
Serial.println("Done");
|
||||
delay(1);
|
||||
}
|
||||
|
||||
// the loop function runs over and over again forever
|
||||
|
||||
Reference in new issue
Block a user