projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo lf config usage
[proxmark3-svn]
/
armsrc
/
lfsampling.c
diff --git
a/armsrc/lfsampling.c
b/armsrc/lfsampling.c
index 084201a5a52c25825615896b1d8cd84ca29eecbf..03bccf41a7bbd151fac373b593ec7b24934c0740 100644
(file)
--- a/
armsrc/lfsampling.c
+++ b/
armsrc/lfsampling.c
@@
-12,7
+12,7
@@
#include "string.h"
#include "lfsampling.h"
#include "usb_cdc.h" // for usb_poll_validate_length
#include "string.h"
#include "lfsampling.h"
#include "usb_cdc.h" // for usb_poll_validate_length
-//#include "ticks.h" // for StartTicks
+#include "fpgaloader.h"
sample_config config = { 1, 8, 1, 95, 0 } ;
sample_config config = { 1, 8, 1, 95, 0 } ;
@@
-101,7
+101,7
@@
void LFSetupFPGAForADC(int divisor, bool lf_field)
// Give it a bit of time for the resonant antenna to settle.
SpinDelay(50);
// Now set up the SSC to get the ADC samples that are now streaming at us.
// Give it a bit of time for the resonant antenna to settle.
SpinDelay(50);
// Now set up the SSC to get the ADC samples that are now streaming at us.
- FpgaSetupSsc();
+ FpgaSetupSsc(
FPGA_MAJOR_MODE_LF_ADC
);
}
/**
}
/**
@@
-266,7
+266,7
@@
uint32_t SnoopLF()
}
/**
}
/**
-* acquisition of Cotag LF signal. Similar
t
to other LF, since the Cotag has such long datarate RF/384
+* acquisition of Cotag LF signal. Similar to other LF, since the Cotag has such long datarate RF/384
* and is Manchester?, we directly gather the manchester data into bigbuff
**/
#define COTAG_T1 384
* and is Manchester?, we directly gather the manchester data into bigbuff
**/
#define COTAG_T1 384
Impressum
,
Datenschutz