chg: 'lf hitag writer' - refactored with timeouts etc.

chg: 'lf hitag'  test without toggle mode enabled
This commit is contained in:
iceman1001
2019-03-13 16:44:32 +01:00
parent 0790c8b328
commit b35ea2e352
3 changed files with 33 additions and 23 deletions

View File

@@ -705,7 +705,8 @@ void SniffHitag(uint32_t type) {
// Set up eavesdropping mode, frequency divisor which will drive the FPGA
// and analog mux selection.
FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_TOGGLE_MODE);
//FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT | FPGA_LF_EDGE_DETECT_TOGGLE_MODE);
FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_EDGE_DETECT);
//125Khz
FpgaSendCommand(FPGA_CMD_SET_DIVISOR, 95);