X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/39864b0bd41dd5e896bcb8eeabcf2c3932f2203a..f0ba6342218d4eb264668655e3c24ad74d99c0f4:/armsrc/util.h?ds=sidebyside diff --git a/armsrc/util.h b/armsrc/util.h index 21a9b757..b68c511c 100644 --- a/armsrc/util.h +++ b/armsrc/util.h @@ -17,7 +17,8 @@ #define RAMFUNC __attribute((long_call, section(".ramfunc"))) #define BYTEx(x, n) (((x) >> (n * 8)) & 0xff ) -#define min(a, b) (((a) > (b)) ? (b) : (a)) +#define MIN(a, b) (((a) < (b)) ? (a) : (b)) +#define MAX(a, b) (((a) > (b)) ? (a) : (b)) #define LED_RED 1 #define LED_ORANGE 2