File tree Expand file tree Collapse file tree 4 files changed +12
-21
lines changed Expand file tree Collapse file tree 4 files changed +12
-21
lines changed Original file line number Diff line number Diff line change 1111#ifndef _ERPC_CONFIG_H_
1212#define _ERPC_CONFIG_H_
1313
14+ #if !defined(erpc_assert)
1415#include <cassert>
16+ #define erpc_assert (condition ) assert(condition) //!< Assert function.
17+ #endif
1518
1619/*!
1720 * @addtogroup config
183186//! Uncomment for using pre post default callback feature.
184187//#define ERPC_PRE_POST_ACTION_DEFAULT (ERPC_PRE_POST_ACTION_DEFAULT_ENABLED)
185188
186- //! @name Assert function definition
187- //@{
188- #define erpc_assert (condition ) assert(condition) //!< Assert function.
189- //@}
190-
191-
192189/*! @} */
193190#endif // _ERPC_CONFIG_H_
194191////////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 1010#ifndef _ERPC_CONFIG_H_
1111#define _ERPC_CONFIG_H_
1212
13+ #if !defined(erpc_assert )
1314#include <cassert>
15+ #define erpc_assert (condition ) assert(condition) //!< Assert function.
16+ #endif
1417
1518////////////////////////////////////////////////////////////////////////////////
1619// Declarations
176179//! Uncomment for using pre post default callback feature.
177180//#define ERPC_PRE_POST_ACTION_DEFAULT (ERPC_PRE_POST_ACTION_DEFAULT_ENABLED)
178181
179- //! @name Assert function definition
180- //@{
181- #define erpc_assert (condition ) assert(condition) //!< Assert function.
182- //@}
183-
184182/*! @} */
185183#endif // _ERPC_CONFIG_H_
186184////////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 1010#ifndef _ERPC_CONFIG_H_
1111#define _ERPC_CONFIG_H_
1212
13+ #if !defined(erpc_assert )
1314#include <cassert>
15+ #define erpc_assert (condition ) assert(condition) //!< Assert function.
16+ #endif
1417
1518/*!
1619 * @addtogroup config
182185//! Uncomment for using pre post default callback feature.
183186//#define ERPC_PRE_POST_ACTION_DEFAULT (ERPC_PRE_POST_ACTION_DEFAULT_ENABLED)
184187
185- //! @name Assert function definition
186- //@{
187- #define erpc_assert (condition ) assert(condition) //!< Assert function.
188- //@}
189-
190188/*! @} */
191189#endif // _ERPC_CONFIG_H_
192190////////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 99#ifndef _ERPC_CONFIG_H_
1010#define _ERPC_CONFIG_H_
1111
12+ #if !defined(erpc_assert )
1213#include <cassert>
14+ #define erpc_assert (condition ) assert(condition) //!< Assert function.
15+ #endif
1316
1417/*!
1518 * @addtogroup config
181184//! Uncomment for using pre post default callback feature.
182185//#define ERPC_PRE_POST_ACTION_DEFAULT (ERPC_PRE_POST_ACTION_DEFAULT_ENABLED)
183186
184- //! @name Assert function definition
185- //@{
186- #define erpc_assert (condition ) assert(condition) //!< Assert function.
187- //@}
188-
189187/*! @} */
190188#endif // _ERPC_CONFIG_H_
191189////////////////////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments