moved RAMFUNC definition

This commit is contained in:
roel@libnfc.org 2013-04-08 09:18:39 +00:00
parent dfc3c5053c
commit ce55f5a291
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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