Fix delay in acquisition and DoAcquisition_config usage. Fixes

This commit is contained in:
Philippe Teuwen 2020-01-15 15:03:35 +01:00
parent 2de3a756cc
commit 33033612bc
2 changed files with 3 additions and 2 deletions

View file

@ -2550,7 +2550,7 @@ void Cotag(uint32_t arg0) {
doCotagAcquisitionManchester();
break;
case 2:
DoAcquisition_config(true, true);
DoAcquisition_config(false, 0);
break;
}

View file

@ -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;