mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix: LED is used as a flag, 1,2,4,8 not 1,2,3,4..
This commit is contained in:
parent
22ead8ca0b
commit
3587aeff2a
4 changed files with 30 additions and 27 deletions
|
@ -447,15 +447,12 @@ void SendCapabilities(void) {
|
|||
|
||||
// Show some leds in a pattern to identify StandAlone mod is running
|
||||
void StandAloneMode(void) {
|
||||
|
||||
DbpString("Stand-alone mode! No PC necessary.");
|
||||
|
||||
DbpString("Stand-alone mode, no computer necessary");
|
||||
SpinDown(50);
|
||||
SpinOff(50);
|
||||
SpinDelay(50);
|
||||
SpinUp(50);
|
||||
SpinOff(50);
|
||||
SpinDelay(50);
|
||||
SpinDown(50);
|
||||
SpinDelay(500);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1215,7 +1212,11 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
break;
|
||||
}
|
||||
case CMD_HF_ICLASS_READER: {
|
||||
ReaderIClass(packet->oldarg[0]);
|
||||
struct p {
|
||||
uint8_t flags;
|
||||
} PACKED;
|
||||
struct p *payload = (struct p *)packet->data.asBytes;
|
||||
ReaderIClass(payload->flags);
|
||||
break;
|
||||
}
|
||||
case CMD_HF_ICLASS_REPLAY: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue