chg: 'hf legic sim' break sim by sending another cmd
This commit is contained in:
1 parent
4e42d11d15
commit
ba9de80eeb
1 file changed
+1
-1
+1
-1
@@ -460,7 +460,7 @@ void LegicRfSimulate(uint8_t cardtype) {
|
||||
|
||||
LED_A_ON();
|
||||
DbpString("Starting Legic emulator, press button to end");
|
||||
while(!BUTTON_PRESS()) {
|
||||
while (!BUTTON_PRESS() && !usb_poll_validate_length()) {
|
||||
WDT_HIT();
|
||||
|
||||
// wait for carrier, restart after timeout
|
||||
|
||||
Reference in new issue
Block a user