mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix: unified lf clone printouts of blocks.
This commit is contained in:
parent
bd4d1ec74e
commit
734ca940e9
17 changed files with 143 additions and 161 deletions
|
@ -19,12 +19,11 @@ int GridOffset = 0;
|
|||
bool GridLocked = false;
|
||||
bool showDemod = true;
|
||||
|
||||
extern pthread_mutex_t print_lock;
|
||||
pthread_mutex_t print_lock;
|
||||
|
||||
static char *logfilename = "proxmark3.log";
|
||||
|
||||
void PrintAndLog(char *fmt, ...)
|
||||
{
|
||||
void PrintAndLog(char *fmt, ...) {
|
||||
char *saved_line;
|
||||
int saved_point;
|
||||
va_list argptr, argptr2;
|
||||
|
@ -130,7 +129,7 @@ void iceIIR_Butterworth(int *data, const size_t len){
|
|||
|
||||
// compute instantaneous frequency by looking at phase difference
|
||||
// between adjacent samples
|
||||
float freq = cargf(x*conjf(x_prime));
|
||||
float freq = cargf(x * conjf(x_prime));
|
||||
x_prime = x; // retain this sample for next iteration
|
||||
|
||||
output[i] =(freq > 0) ? 127 : -127;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue