From 73ecaefde8b013af4c598a01f362b856809b65a2 Mon Sep 17 00:00:00 2001 From: Mike Fellows Date: Thu, 3 Jan 2019 10:31:02 -0800 Subject: [PATCH] Remove unneeded #warning pre-processor command in lv_vdb.h That directive breaks non-gcc builds (e.g. for the pc simulator) and is not very valuable from a user point of view. --- lv_core/lv_vdb.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lv_core/lv_vdb.h b/lv_core/lv_vdb.h index cbb4329a4..2d8afe736 100644 --- a/lv_core/lv_vdb.h +++ b/lv_core/lv_vdb.h @@ -31,8 +31,7 @@ extern "C" { #define LV_VDB_ADR_INV 8 /*8 is still too small to be valid but it's aligned on 64 bit machines as well*/ #ifndef LV_VDB_PX_BPP -#warning "LV_VDB_PX_BPP is not specified in lv_conf.h. Use the default value (LV_COLOR_SIZE)" -#define LV_VDB_PX_BPP LV_COLOR_SIZE +#define LV_VDB_PX_BPP LV_COLOR_SIZE /* Default is LV_COLOR_SIZE */ #endif /* The size of VDB in bytes.