uint32_t buf_size = LV_CANVAS_BUF_SIZE_INDEXED_1BIT(size, size); uint8_t * buf = lv_mem_alloc(buf_size); #if LV_VERSION_CHECK(7,0,0) #if LV_VERSION_CHECK(6,0,0) LV_ASSERT_MEM(buf); #else lv_mem_assert(buf); 0 comments on commit 2140ed2 Please sign in to comment....