mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
chg: removed extern on print_lock mutex. Since there is two of these, in proxmark3.c and ui.c
This commit is contained in:
parent
734ca940e9
commit
6ad546fa13
3 changed files with 4 additions and 4 deletions
|
@ -607,7 +607,7 @@ void CmdHIDsimTAG(int hi, int lo, int ledcontrol)
|
|||
// prepare a waveform pattern in the buffer based on the ID given then
|
||||
// simulate a FSK tag until the button is pressed
|
||||
// arg1 contains fcHigh and fcLow, arg2 contains invert and clock
|
||||
void CmdFSKsimTAG(uint16_t arg1, uint16_t arg2, size_t size, uint8_t *BitStream)
|
||||
void CmdFSKsimTAG(uint16_t arg1, uint16_t arg2, size_t size, uint8_t *bits)
|
||||
{
|
||||
FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
|
||||
|
||||
|
@ -625,7 +625,7 @@ void CmdFSKsimTAG(uint16_t arg1, uint16_t arg2, size_t size, uint8_t *BitStream)
|
|||
|
||||
for (i=0; i<size; i++){
|
||||
|
||||
if (BitStream[i] == invert)
|
||||
if (bits[i] == invert)
|
||||
fcAll(fcLow, &n, clk, &modCnt);
|
||||
else
|
||||
fcAll(fcHigh, &n, clk, &modCnt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue