mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-26 10:04:24 +08:00
moved RAMFUNC definition
This commit is contained in:
parent
dfc3c5053c
commit
ce55f5a291
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -25,4 +25,6 @@ typedef unsigned char byte_t;
|
|||
# define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#define RAMFUNC __attribute((long_call, section(".ramfunc")))
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue