Commit 874e220e authored by Cedric Roux's avatar Cedric Roux
Browse files

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4689 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent ad1e986d
......@@ -51,8 +51,12 @@
#define DLSCH 1
#define ULSCH 2
#define mac_exit_wrapper(sTRING) \
mac_xface->macphy_exit(sTRING " in file " __FILE__ ", line ##__LINE__")
#define mac_exit_wrapper(sTRING) \
do { \
char temp[300]; \
snprintf(temp, sizeof(temp), "%s in file "__FILE__" at line %d\n", sTRING, __LINE__); \
mac_xface->macphy_exit(temp); \
} while(0)
/*! \brief MACPHY Interface */
typedef struct
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment