chg: 'hf mf sim' led

This commit is contained in:
Chris 2018-06-23 06:31:42 +02:00
parent 4633e2083a
commit abdd51b6b3

View file

@ -3049,6 +3049,7 @@ void Mifare1ksim(uint8_t flags, uint8_t exitAfterNReads, uint8_t arg2, uint8_t *
BigBuf_free_keep_EM();
clear_trace();
set_tracing(true);
LED_D_ON();
bool finished = false;
while (!BUTTON_PRESS() && !finished && !usb_poll_validate_length()) {
@ -3083,7 +3084,6 @@ void Mifare1ksim(uint8_t flags, uint8_t exitAfterNReads, uint8_t arg2, uint8_t *
cardSTATE = MFEMUL_SELECT1;
crypto1_destroy(pcs);
cardAUTHKEY = 0xff;
LEDsoff();
nonce = prng_successor(selTimer, 32);
continue;
}