- Timestamp:
- Apr 5, 2019, 9:26:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/platform/mbed_assert.h
r352 r374 2 2 /** \addtogroup platform */ 3 3 /** @{*/ 4 /** 5 * \defgroup platform_Assert Assert macros 6 * @{ 7 */ 4 8 /* mbed Microcontroller Library 5 9 * Copyright (c) 2006-2013 ARM Limited … … 40 44 #endif 41 45 46 /** MBED_ASSERT 47 * Declare runtime assertions: results in runtime error if condition is false 48 * 49 * @note 50 * Use of MBED_ASSERT is limited to Debug and Develop builds. 51 * 52 * @code 53 * 54 * int Configure(serial_t *obj) { 55 * MBED_ASSERT(obj); 56 * } 57 * @endcode 58 */ 42 59 #ifdef NDEBUG 43 60 #define MBED_ASSERT(expr) ((void)0) … … 112 129 113 130 /** @}*/ 131 132 /**@}*/ 133
Note:
See TracChangeset
for help on using the changeset viewer.