mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 13:53:26 -07:00
add psk to em4x05 reads and tweak psk demod
This commit is contained in:
parent
c85858f524
commit
6980d66b05
3 changed files with 96 additions and 55 deletions
|
@ -1628,7 +1628,7 @@ void EM4xReadWord(uint8_t Address, uint32_t Pwd, uint8_t PwdMode) {
|
|||
SendForward(fwd_bit_count);
|
||||
|
||||
// Now do the acquisition
|
||||
DoAcquisition_default(30,TRUE);
|
||||
DoAcquisition_default(0,TRUE);
|
||||
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); // field off
|
||||
LED_A_OFF();
|
||||
|
@ -1656,7 +1656,7 @@ void EM4xWriteWord(uint32_t flag, uint32_t Data, uint32_t Pwd) {
|
|||
SendForward(fwd_bit_count);
|
||||
|
||||
//Wait for write to complete
|
||||
SpinDelayUs(8000);
|
||||
SpinDelay(10);
|
||||
|
||||
//Capture response if one exists
|
||||
DoAcquisition_default(20, TRUE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue