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:
marshmellow42 2016-02-20 10:07:44 -05:00
commit 3cec706139
5 changed files with 19 additions and 1 deletions

View file

@ -29,6 +29,8 @@ int DemodPCF7931(uint8_t **outBlocks) {
int num_blocks = 0;
int lmin=128, lmax=128;
uint8_t dir;
//clear read buffer
BigBuf_Clear_keep_EM(void);
LFSetupFPGAForADC(95, true);
DoAcquisition_default(0, true);