mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +08:00
chg: minor syntax
This commit is contained in:
parent
1c37981430
commit
87b3df94c1
1 changed files with 5 additions and 5 deletions
|
@ -69,7 +69,7 @@ void RunMod() {
|
||||||
Dbprintf("[+] cloning %x %x %08x", selected, high[selected], low[selected]);
|
Dbprintf("[+] cloning %x %x %08x", selected, high[selected], low[selected]);
|
||||||
|
|
||||||
// wait for button to be released
|
// wait for button to be released
|
||||||
while(BUTTON_PRESS())
|
while (BUTTON_PRESS())
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|
||||||
/* need this delay to prevent catching some weird data */
|
/* need this delay to prevent catching some weird data */
|
||||||
|
@ -101,17 +101,17 @@ void RunMod() {
|
||||||
// Begin transmitting
|
// Begin transmitting
|
||||||
if (playing) {
|
if (playing) {
|
||||||
LED(LED_GREEN, 0);
|
LED(LED_GREEN, 0);
|
||||||
DbpString("[+] Playing");
|
DbpString("[+] playing");
|
||||||
// wait for button to be released
|
// wait for button to be released
|
||||||
while (BUTTON_PRESS())
|
while (BUTTON_PRESS())
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
|
|
||||||
Dbprintf("[+] %x %x %08x", selected, high[selected], low[selected]);
|
Dbprintf("[+] %x %x %08x", selected, high[selected], low[selected]);
|
||||||
CmdHIDsimTAG(high[selected], low[selected], 0);
|
CmdHIDsimTAG(high[selected], low[selected], 0);
|
||||||
DbpString("[+] Done playing");
|
DbpString("[+] done playing");
|
||||||
|
|
||||||
if (BUTTON_HELD(1000) > 0) {
|
if (BUTTON_HELD(1000) > 0) {
|
||||||
DbpString("[+] Exiting");
|
DbpString("[+] exiting");
|
||||||
LEDsoff();
|
LEDsoff();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -126,7 +126,7 @@ void RunMod() {
|
||||||
LED(selected + 1, 0);
|
LED(selected + 1, 0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
while(BUTTON_PRESS())
|
while (BUTTON_PRESS())
|
||||||
WDT_HIT();
|
WDT_HIT();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue