X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/cbb03be993f1d15fb8ede4e19edafd020bdfbb0a..5e174a511b37e17cd3fcaedad608ce605ba34ce9:/armsrc/appmain.c diff --git a/armsrc/appmain.c b/armsrc/appmain.c index b231cae1..b517fa6c 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -6,7 +6,6 @@ //----------------------------------------------------------------------------- #include -#include #include "apps.h" #include "legicrf.h" #ifdef WITH_LCD @@ -20,6 +19,9 @@ #define va_end __builtin_va_end int kvsprintf(char const *fmt, void *arg, int radix, va_list ap); + +#define abs(x) ( ((x)<0) ? -(x) : (x) ) + //============================================================================= // A buffer where we can queue things up to be sent through the FPGA, for // any purpose (fake tag, as reader, whatever). We go MSB first, since that