fix warnings

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-19 16:16:11 +01:00
parent 406da6856c
commit fe20d47b6e
11 changed files with 76 additions and 26 deletions

View File

@@ -10,12 +10,6 @@
#include <stdint.h>
/* Add ESP-IDF related includes */
#if defined (ESP_PLATFORM)
# include "sdkconfig.h"
# include "esp_attr.h"
#endif
/* Handle special Kconfig options */
#include "lv_conf_kconfig.h"
@@ -259,6 +253,14 @@
# endif
#endif
/* Maximum buffer size to allocate for rotation. Only used if software rotation is enabled in the display driver. */
#ifndef LV_DISP_ROT_MAX_BUF
# ifdef CONFIG_LV_DISP_ROT_MAX_BUF
# define LV_DISP_ROT_MAX_BUF CONFIG_LV_DISP_ROT_MAX_BUF
# else
# define LV_DISP_ROT_MAX_BUF (10*1024)
# endif
#endif
/*-------------
* GPU
*-----------*/