]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: lf hitag : Mea culpa, simulation should not have reader_field on. thanks to...
authoriceman1001 <iceman@iuse.se>
Fri, 24 Mar 2017 20:03:09 +0000 (21:03 +0100)
committericeman1001 <iceman@iuse.se>
Fri, 24 Mar 2017 20:03:09 +0000 (21:03 +0100)
armsrc/hitag2.c
armsrc/hitagS.c

index bc904c66a2c76da12007c5c1d171fdf3ed7ade9e..ab839109f7b9de55e6a6e2dd6efa36baf0237fee 100644 (file)
@@ -999,7 +999,7 @@ void SimulateHitagTag(bool tag_mem_supplied, byte_t* data) {
        
        // Set up simulator mode, frequency divisor which will drive the FPGA
        // and analog mux selection.
-       FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_READER_FIELD);
+       FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT);
        FpgaSendCommand(FPGA_CMD_SET_DIVISOR, 95); //125Khz
        SetAdcMuxFor(GPIO_MUXSEL_LOPKD);
        RELAY_OFF();
index 45387c4f0093639986bb34d5946de0545e33ed4a..850922a5fb5f6c54f2cc3d84a0c16cea5eb60487 100644 (file)
@@ -1026,7 +1026,7 @@ void SimulateHitagSTag(bool tag_mem_supplied, byte_t* data) {
 // Set up simulator mode, frequency divisor which will drive the FPGA
 // and analog mux selection.
        FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
-       FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_READER_FIELD);
+       FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT);
        FpgaSendCommand(FPGA_CMD_SET_DIVISOR, 95); //125Khz
        SetAdcMuxFor(GPIO_MUXSEL_LOPKD);
        RELAY_OFF();
Impressum, Datenschutz