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