minor fixes

This commit is contained in:
Gabor Kiss-Vamosi
2018-08-04 08:45:22 +02:00
parent f968792286
commit 7a2693e4f1
3 changed files with 8 additions and 6 deletions

View File

@@ -3,16 +3,15 @@
*
*/
/*********************
* INCLUDES
*********************/
#include "lv_vdb.h"
#if LV_VDB_SIZE != 0
#include "../lv_hal/lv_hal_disp.h"
#include <stddef.h>
/*********************
* INCLUDES
*********************/
/*********************
* DEFINES
*********************/
@@ -34,7 +33,6 @@ typedef enum {
* STATIC VARIABLES
**********************/
#if LV_VDB_DOUBLE == 0
/*Simple VDB*/
static volatile lv_vdb_state_t vdb_state = LV_VDB_STATE_ACTIVE;

View File

@@ -28,6 +28,10 @@ extern "C" {
* DEFINES
*********************/
#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
#endif
/**********************
* TYPEDEFS
**********************/