projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23af932
)
Flush stdout when waiting for /dev/ttyACM0
443/head
author
Philippe Teuwen
<phil@teuwen.org>
Tue, 24 Oct 2017 12:10:52 +0000
(14:10 +0200)
committer
Philippe Teuwen
<phil@teuwen.org>
Tue, 24 Oct 2017 12:10:52 +0000
(14:10 +0200)
client/proxmark3.c
patch
|
blob
|
blame
|
history
diff --git
a/client/proxmark3.c
b/client/proxmark3.c
index f7a87f6d27ae86a491362eab5b522c9fae8eb519..99ba9fbad77ec9dbcea40bc0b36074ea7914b0e5 100644
(file)
--- a/
client/proxmark3.c
+++ b/
client/proxmark3.c
@@
-355,11
+355,13
@@
int main(int argc, char* argv[]) {
sp = uart_open(argv[1]);
} else {
printf("Waiting for Proxmark to appear on %s ", argv[1]);
+ fflush(stdout);
int openCount = 0;
do {
sp = uart_open(argv[1]);
msleep(1000);
printf(".");
+ fflush(stdout);
} while(++openCount < 20 && (sp == INVALID_SERIAL_PORT || sp == CLAIMED_SERIAL_PORT));
printf("\n");
}
Impressum
,
Datenschutz