1 //! Flog - Message ID definitions for the F logging library
3 //! @file flog_msg_id.c
4 //! @author Nabeel Sowan (nabeel.sowan@vibes.se)
6 //! Useful for saving space on embedded systems, performance etc.
7 //! if FLOG_NO_MSG_ID_STRINGS is defined then the static string
8 //! data will not be included. This can be used for deeply embedded
9 //! systems where string generation isn't strictly necessary,
10 //! and can be decoded by the receiver.
12 #include "flog_msg_id.h"
14 #ifdef FLOG_CONFIG_STRING_OUTPUT
15 #ifdef FLOG_CONFIG_MSG_ID_STRINGS
16 #define X(id, str) str,
17 const char *flog_msg_id_str
[] = {
22 #endif //FLOG_CONFIG_MSG_ID_STRINGS
23 #endif //FLOG_CONFIG_STRING_OUTPUT