mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
Remove unused oldarg in SniffHitag
This commit is contained in:
parent
20f7b2f3ec
commit
f85420d6f3
3 changed files with 3 additions and 3 deletions
|
@ -866,7 +866,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
||||||
|
|
||||||
#ifdef WITH_HITAG
|
#ifdef WITH_HITAG
|
||||||
case CMD_SNIFF_HITAG: // Eavesdrop Hitag tag, args = type
|
case CMD_SNIFF_HITAG: // Eavesdrop Hitag tag, args = type
|
||||||
SniffHitag(packet->oldarg[0]);
|
SniffHitag();
|
||||||
break;
|
break;
|
||||||
case CMD_SIMULATE_HITAG: // Simulate Hitag tag, args = memory content
|
case CMD_SIMULATE_HITAG: // Simulate Hitag tag, args = memory content
|
||||||
SimulateHitagTag((bool)packet->oldarg[0], packet->data.asBytes);
|
SimulateHitagTag((bool)packet->oldarg[0], packet->data.asBytes);
|
||||||
|
|
|
@ -681,7 +681,7 @@ static bool hitag2_read_uid(uint8_t *rx, const size_t rxlen, uint8_t *tx, size_t
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hitag2 Sniffing
|
// Hitag2 Sniffing
|
||||||
void SniffHitag(uint32_t type) {
|
void SniffHitag(void) {
|
||||||
|
|
||||||
StopTicks();
|
StopTicks();
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "hitag.h"
|
#include "hitag.h"
|
||||||
|
|
||||||
void SniffHitag(uint32_t type);
|
void SniffHitag(void);
|
||||||
void SimulateHitagTag(bool tag_mem_supplied, uint8_t *data);
|
void SimulateHitagTag(bool tag_mem_supplied, uint8_t *data);
|
||||||
void ReaderHitag(hitag_function htf, hitag_data *htd);
|
void ReaderHitag(hitag_function htf, hitag_data *htd);
|
||||||
void WriterHitag(hitag_function htf, hitag_data *htd, int page);
|
void WriterHitag(hitag_function htf, hitag_data *htd, int page);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue