Remap msg() to LOG_D() when openair2 is used to allow log control.
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4821 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
+7
-2
@@ -48,9 +48,14 @@
|
||||
#include <math.h>
|
||||
//#include <complex.h>
|
||||
#ifdef MEX
|
||||
#define msg mexPrintf
|
||||
# define msg mexPrintf
|
||||
#else
|
||||
#define msg printf
|
||||
# ifdef OPENAIR2
|
||||
# include "log.h"
|
||||
# define msg(aRGS...) LOG_D(PHY, ##aRGS)
|
||||
# else
|
||||
# define msg printf
|
||||
# endif
|
||||
#endif
|
||||
//use msg in the real-time thread context
|
||||
#define msg_nrt printf
|
||||
|
||||
Reference in New Issue
Block a user