define empty LV_DEBUG_ASSERT if LV_USE_DEBUG is 0

This commit is contained in:
Gabor Kiss-Vamosi
2019-11-04 20:35:47 +01:00
parent 5222bf92c4
commit 769c1a8f8a
+2
View File
@@ -136,6 +136,8 @@ void lv_debug_log_error(const char * msg, uint64_t value);
#else /* LV_USE_DEBUG == 0 */
#define LV_DEBUG_ASSERT(expr, msg, value) do{}while(0)
#define LV_ASSERT_NULL(p) true
#define LV_ASSERT_MEM(p) true
#define LV_ASSERT_STR(p) true