nrfx_glue_bsim: Provide 2 trivial definitions for standalone builds
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
4af80d5698
commit
4015d5abc9
|
@ -23,6 +23,16 @@ extern "C" {
|
|||
#define NRFX_ASSERT(expression)
|
||||
#endif
|
||||
|
||||
/** @brief Macro for entering into a critical section. */
|
||||
#ifndef NRFX_CRITICAL_SECTION_ENTER
|
||||
#define NRFX_CRITICAL_SECTION_ENTER()
|
||||
#endif
|
||||
|
||||
/** @brief Macro for exiting from a critical section. */
|
||||
#ifndef NRFX_CRITICAL_SECTION_EXIT
|
||||
#define NRFX_CRITICAL_SECTION_EXIT()
|
||||
#endif
|
||||
|
||||
#include "nrfx_bsim_redef.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue