From 0ef6e190e7f11ccdc0c5c40ac873086264d848ec Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 29 Oct 2017 10:40:39 +0100 Subject: [PATCH] fix. missing variable and semicolon --- armsrc/lfops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/lfops.c b/armsrc/lfops.c index e88576334..3b364bc09 100644 --- a/armsrc/lfops.c +++ b/armsrc/lfops.c @@ -403,7 +403,7 @@ void SimulateTagLowFrequencyEx(int period, int gap, int ledcontrol, int numcycle FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT); SpinDelay(20); - int i = 0; + int i = 0, x = 0; uint8_t *buf = BigBuf_get_addr(); // set frequency, get values from 'lf config' command @@ -634,7 +634,7 @@ void CmdHIDsimTAGEx( uint32_t hi, uint32_t lo, int ledcontrol, int numcycles) { } void CmdHIDsimTAG( uint32_t hi, uint32_t lo, int ledcontrol) { - void CmdHIDsimTAG( hi, lo, ledcontrol, -1) + void CmdHIDsimTAG( hi, lo, ledcontrol, -1); } // prepare a waveform pattern in the buffer based on the ID given then