mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-31 07:56:23 +08:00
define empty LV_DEBUG_ASSERT if LV_USE_DEBUG is 0
This commit is contained in:
@@ -136,6 +136,8 @@ void lv_debug_log_error(const char * msg, uint64_t value);
|
|||||||
|
|
||||||
#else /* LV_USE_DEBUG == 0 */
|
#else /* LV_USE_DEBUG == 0 */
|
||||||
|
|
||||||
|
#define LV_DEBUG_ASSERT(expr, msg, value) do{}while(0)
|
||||||
|
|
||||||
#define LV_ASSERT_NULL(p) true
|
#define LV_ASSERT_NULL(p) true
|
||||||
#define LV_ASSERT_MEM(p) true
|
#define LV_ASSERT_MEM(p) true
|
||||||
#define LV_ASSERT_STR(p) true
|
#define LV_ASSERT_STR(p) true
|
||||||
|
|||||||
Reference in New Issue
Block a user