mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
syntax sugar
This commit is contained in:
parent
573e8d72c7
commit
e977fb0da3
2 changed files with 8 additions and 8 deletions
|
@ -7,22 +7,20 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// Low frequency demod/decode commands
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "lfdemod.h"
|
||||
#include <string.h>
|
||||
|
||||
//un_comment to allow debug print calls when used not on device
|
||||
void dummy(char *fmt, ...){}
|
||||
|
||||
|
||||
#ifndef ON_DEVICE
|
||||
#include "ui.h"
|
||||
#include "cmdparser.h"
|
||||
#include "cmddata.h"
|
||||
#define prnt PrintAndLog
|
||||
# include "ui.h"
|
||||
# include "cmdparser.h"
|
||||
# include "cmddata.h"
|
||||
# define prnt PrintAndLog
|
||||
#else
|
||||
uint8_t g_debugMode=0;
|
||||
#define prnt dummy
|
||||
# define prnt dummy
|
||||
#endif
|
||||
|
||||
//test samples are not just noise
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#define LFDEMOD_H__
|
||||
#include <stdint.h> // for uint_32+
|
||||
#include <stdbool.h> // for bool
|
||||
#include <string.h> // for strcmp
|
||||
#include <stdlib.h> // for
|
||||
|
||||
//generic
|
||||
uint8_t justNoise(uint8_t *bits, size_t size);
|
||||
|
|
Loading…
Reference in a new issue