CHG: fiddled with the headerfiles... and makefile... Tried to make them behave nice. So it isnt a hell to add new functions from third-party (like des, aes etc)

Added a lot of #ifndef ,   extern C,
Move inside from ARMSRC -> THUMBS,  which made the compiled image smaller.. I don't know if it broke anything.
Moved MF_DBGLEVEL definitions into common.h
Moved print_result from util.c into appmain.c
Also split up some struct typedef  into header files so they could be reused in other code places.

''' danger '''  this might have broken stuff...
This commit is contained in:
iceman1001 2017-01-25 00:33:03 +01:00
commit 53d5dc643f
27 changed files with 153 additions and 190 deletions

View file

@ -1,5 +1,5 @@
#ifndef LFSAMPLING_H
#define LFSAMPLING_H
#ifndef __LFSAMPLING_H
#define __LFSAMPLING_H
#include "proxmark3.h"
#include "apps.h"
@ -8,6 +8,8 @@
#include "usb_cdc.h" // for usb_poll_validate_length
#include "ticks.h" // for StartTicks
typedef struct BitstreamOut BitstreamOut;
/**
* acquisition of T55x7 LF signal. Similart to other LF, but adjusted with @marshmellows thresholds
* the data is collected in BigBuf.
@ -72,4 +74,4 @@ sample_config * getSamplingConfig();
void printConfig();
#endif // LFSAMPLING_H
#endif // __LFSAMPLING_H