mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
move the clear buffer outside of potentially time..
... sensitive routines see http://www.proxmark.org/forum/viewtopic.php?id=2820
This commit is contained in:
parent
35cfcfc7a1
commit
3cec706139
5 changed files with 19 additions and 1 deletions
|
@ -124,7 +124,7 @@ uint32_t DoAcquisition(uint8_t decimation, uint32_t bits_per_sample, bool averag
|
|||
uint8_t *dest = BigBuf_get_addr();
|
||||
int bufsize = BigBuf_max_traceLen();
|
||||
|
||||
memset(dest, 0, bufsize);
|
||||
//memset(dest, 0, bufsize); //creates issues with cmdread (marshmellow)
|
||||
|
||||
if(bits_per_sample < 1) bits_per_sample = 1;
|
||||
if(bits_per_sample > 8) bits_per_sample = 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue