Remove unused oldarg in SniffHitag
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user