Bugfix/mgg 562 lvgl pxp symbol prefix missing include path update blit limit (#1830)

* PXP: Updated area threshold, fixed symbol names, minor fixes

- Area threshold of 1 left from debugging, changed to 32 for performance
reasons.
- Fixed naming convention of symbols (prefix LV_GPU_)
- Fixed include paths (no need to add src folder into include paths)
- Comments changed to doxygen

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

* PXP: Code formatting

Applied code-format.sh script.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
This commit is contained in:
jozba
2020-10-02 13:10:09 +02:00
committed by GitHub
parent cf1ca20750
commit b049b7e1f6
6 changed files with 97 additions and 88 deletions

View File

@@ -28,8 +28,8 @@
#include <string.h>
#if LV_USE_GPU_NXP_PXP && LV_USE_GPU_NXP_PXP_AUTO_INIT
#include "lv_gpu/lv_gpu_nxp_pxp.h"
#include "lv_gpu/lv_gpu_nxp_pxp_osa.h"
#include "../lv_gpu/lv_gpu_nxp_pxp.h"
#include "../lv_gpu/lv_gpu_nxp_pxp_osa.h"
#endif
#if defined(LV_GC_INCLUDE)
@@ -200,9 +200,9 @@ void lv_init(void)
#endif
#if LV_USE_GPU_NXP_PXP && LV_USE_GPU_NXP_PXP_AUTO_INIT
if (lv_gpu_nxp_pxp_init(&pxp_default_cfg) != LV_RES_OK) {
if(lv_gpu_nxp_pxp_init(&pxp_default_cfg) != LV_RES_OK) {
LV_LOG_ERROR("PXP init error. STOP.\n");
for ( ; ; ) ;
for(; ;) ;
}
#endif