Permalink
Browse files

Merge pull request #4 from Andolamin/master

Fix for memdump loop
  • Loading branch information...
2 parents 51f421e + 6b6b66a commit 905e8ebbb1b530f3b00afeba422781ab2d206881 @microbuilder microbuilder committed Dec 14, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 examples/mifareclassic_memdump/mifareclassic_memdump.pde
@@ -198,5 +198,8 @@ void loop(void) {
Serial.println("\n\nSend a character to run the mem dumper again!");
Serial.flush();
while (!Serial.available());
+ while (Serial.available()) {
+ Serial.read();
+ }
Serial.flush();
}

0 comments on commit 905e8eb

Please sign in to comment.