Commit 4fbd7484 authored by winckel's avatar winckel

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
parent 6f57092c
...@@ -48,9 +48,14 @@ ...@@ -48,9 +48,14 @@
#include <math.h> #include <math.h>
//#include <complex.h> //#include <complex.h>
#ifdef MEX #ifdef MEX
#define msg mexPrintf # define msg mexPrintf
#else #else
#define msg printf # ifdef OPENAIR2
# include "log.h"
# define msg(aRGS...) LOG_D(PHY, ##aRGS)
# else
# define msg printf
# endif
#endif #endif
//use msg in the real-time thread context //use msg in the real-time thread context
#define msg_nrt printf #define msg_nrt printf
......
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