Fix delay in acquisition and DoAcquisition_config usage. Fixes #524
This commit is contained in:
1 parent
2de3a756cc
commit
33033612bc
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -2550,7 +2550,7 @@ void Cotag(uint32_t arg0) {
|
||||
doCotagAcquisitionManchester();
|
||||
break;
|
||||
case 2:
|
||||
DoAcquisition_config(true, true);
|
||||
DoAcquisition_config(false, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user