added extra separator comments

This commit is contained in:
Francisco Paisana 2019-02-14 14:38:08 +00:00 committed by Andre Puschmann
parent 75acb046d9
commit e50c062084
3 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2013-2017 Software Radio Systems Limited Copyright 2019 Software Radio Systems Limited
This file is part of srsLTE This file is part of srsLTE
@ -71,7 +71,7 @@ inline void assert_choice_type(const std::string& access_type, const std::string
} }
template <class NumType> template <class NumType>
inline NumType get_enum_number(NumType* array, uint32_t nof_types, uint32_t enum_val, const char* enum_type) NumType get_enum_number(NumType* array, uint32_t nof_types, uint32_t enum_val, const char* enum_type)
{ {
if (enum_val >= nof_types) { if (enum_val >= nof_types) {
rrc_log_print(LOG_LEVEL_ERROR, "The provided enum value=%d of type %s cannot be translated into a number\n", rrc_log_print(LOG_LEVEL_ERROR, "The provided enum value=%d of type %s cannot be translated into a number\n",

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2013-2017 Software Radio Systems Limited Copyright 2019 Software Radio Systems Limited
This file is part of srsLTE This file is part of srsLTE
@ -24,6 +24,10 @@ and at http://www.gnu.org/licenses/.
using namespace asn1; using namespace asn1;
using namespace asn1::rrc; using namespace asn1::rrc;
/*******************************************************************************
/* Helper Functions
/******************************************************************************/
#define rrc_asn1_warn_assert(cond, file, line) \ #define rrc_asn1_warn_assert(cond, file, line) \
if ((cond)) { \ if ((cond)) { \
rrc_log_print(LOG_LEVEL_WARN, "Assertion in [%s][%d] failed.\n", (file), (line)); \ rrc_log_print(LOG_LEVEL_WARN, "Assertion in [%s][%d] failed.\n", (file), (line)); \

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2013-2017 Software Radio Systems Limited Copyright 2019 Software Radio Systems Limited
This file is part of srsLTE This file is part of srsLTE
@ -24,6 +24,10 @@ and at http://www.gnu.org/licenses/.
using namespace asn1; using namespace asn1;
using namespace asn1::rrc; using namespace asn1::rrc;
/*******************************************************************************
/* Helper Functions
/******************************************************************************/
static void invalid_enum_value(int value, const char* name) static void invalid_enum_value(int value, const char* name)
{ {
rrc_log_print(LOG_LEVEL_ERROR, "The provided enum value=%d of type %s is not recognized\n", value, name); rrc_log_print(LOG_LEVEL_ERROR, "The provided enum value=%d of type %s is not recognized\n", value, name);