Replaced ITTI_ERROR by DevAssert or DevCheck, error in ITTI are critical and should stop the program!

Disabled debug log in ITTI by default.
Added ITTI_MSG_NAME and ITTI_MSG_INSTANCE defines to simplify acces to some part of message header.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4284 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
winckel
2013-10-25 14:01:50 +00:00
parent 12d298b564
commit f8ff00481d
3 changed files with 30 additions and 52 deletions
+3
View File
@@ -44,6 +44,9 @@
#include "intertask_interface_conf.h"
#include "intertask_interface_types.h"
#define ITTI_MSG_NAME(mSGpTR) itti_get_message_name((mSGpTR)->header.messageId)
#define ITTI_MSG_INSTANCE(mSGpTR) (mSGpTR)->header.instance
/* Make the message number platform specific */
typedef unsigned long message_number_t;
#define MESSAGE_NUMBER_SIZE (sizeof(unsigned long))