mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-08 05:20:28 +08:00
Flash green LED during sample transmission ("data samples" and "data hexsamples" commands) to indicate activity (and that the device hasn't hung)
This commit is contained in:
parent
534983d735
commit
d3b1f4e406
1 changed files with 2 additions and 0 deletions
|
@ -732,7 +732,9 @@ void UsbPacketReceived(uint8_t *packet, int len)
|
||||||
}
|
}
|
||||||
n.arg[0] = c->arg[0];
|
n.arg[0] = c->arg[0];
|
||||||
memcpy(n.d.asDwords, BigBuf+c->arg[0], 12*sizeof(uint32_t));
|
memcpy(n.d.asDwords, BigBuf+c->arg[0], 12*sizeof(uint32_t));
|
||||||
|
LED_B_ON();
|
||||||
UsbSendPacket((uint8_t *)&n, sizeof(n));
|
UsbSendPacket((uint8_t *)&n, sizeof(n));
|
||||||
|
LED_B_OFF();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue