X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/195af47289761be82eeb4f6687a65f5ee8f38611..4df54240c1350a946b86983eb6785af03046b5bd:/armsrc/util.h?ds=sidebyside diff --git a/armsrc/util.h b/armsrc/util.h index ac141065..e8b9cdff 100644 --- a/armsrc/util.h +++ b/armsrc/util.h @@ -13,8 +13,8 @@ #include <stddef.h> #include <stdint.h> +#include <common.h> -#define RAMFUNC __attribute((long_call, section(".ramfunc"))) #define BYTEx(x, n) (((x) >> (n * 8)) & 0xff ) #define LED_RED 1 @@ -47,4 +47,7 @@ void StartCountUS(); uint32_t RAMFUNC GetCountUS(); uint32_t RAMFUNC GetDeltaCountUS(); +void StartCountSspClk(); +uint32_t RAMFUNC GetCountSspClk(); + #endif