mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-02 02:19:57 +08:00
Fix delay in acquisition and DoAcquisition_config usage. Fixes #524
This commit is contained in:
parent
2de3a756cc
commit
33033612bc
2 changed files with 3 additions and 2 deletions
armsrc
|
@ -2550,7 +2550,7 @@ void Cotag(uint32_t arg0) {
|
|||
doCotagAcquisitionManchester();
|
||||
break;
|
||||
case 2:
|
||||
DoAcquisition_config(true, true);
|
||||
DoAcquisition_config(false, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -115,7 +115,8 @@ void initSampleBuffer(uint32_t *sample_size) {
|
|||
// use a bitstream to handle the output
|
||||
data.buffer = BigBuf_get_addr();
|
||||
|
||||
memset(data.buffer, 0, *sample_size);
|
||||
// We can't erase the buffer now, it would drastically delay the acquisition
|
||||
// memset(data.buffer, 0, *sample_size);
|
||||
|
||||
//
|
||||
samples.dec_counter = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue