fix: too many arguments to function

This commit is contained in:
iceman1001
2018-01-25 18:01:40 +01:00
parent 35cfdcd28c
commit b10dca061a
3 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ int main(int argc, char **argv)
return_on_error = 1;
while (1) {
while (!OpenProxmark(0)) { sleep(1); }
while (!OpenProxmark()) { sleep(1); }
while (1) {
UsbCommand cmdbuf;
CommandReceived(argv[1]);

View File

@@ -136,7 +136,7 @@ int main(int argc, char **argv) {
do {
msleep(500);
fprintf(stderr, ".");
} while (!OpenProxmark(0));
} while (!OpenProxmark());
fprintf(stdout, " Found.\n");

View File

@@ -25,7 +25,7 @@ int main()
return_on_error = 1;
while(1) {
while (!OpenProxmark(0)) { sleep(1); }
while (!OpenProxmark()) { sleep(1); }
while (1) {
UsbCommand cmdbuf;
CommandReceived("hf 14a snoop");