summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorTing Liu <[email protected]>2023-06-19 17:43:31 +0800
committerMan, Jianting (Meco) <[email protected]>2023-06-19 23:21:51 -0400
commit8a8ecbc25dafa250bf3b3cee7331e5ca5b068d42 (patch)
treec47d47ea8a7bd6b6f6a183aed944827f6e8c4325 /bsp
parent511bafb807ac927297d3e55fa67bbe6b45dd2301 (diff)
[bsp][imxrt1060] application: fix undeclared identifier error
Fix below build error when using LVGL: applications/lvgl/lv_port_indev.c(73): error: use of undeclared identifier 'BOARD_Touch_I2C_Send' .I2C_SendFunc = BOARD_Touch_I2C_Send, ^ applications/lvgl/lv_port_indev.c(74): error: use of undeclared identifier 'BOARD_Touch_I2C_Receive' .I2C_ReceiveFunc = BOARD_Touch_I2C_Receive, ^ applications/lvgl/lv_port_indev.c(154): warning: implicit declaration of function 'BOARD_LPI2C_Init' is invalid in C99 [-Wimplicit-function-declaration] BOARD_LPI2C_Init(TOUCH_I2C, TOUCH_I2C_CLOCK_FREQ); ^ Signed-off-by: Ting Liu <[email protected]>
Diffstat (limited to 'bsp')
-rw-r--r--bsp/imxrt/imxrt1060-nxp-evk/applications/lvgl/lv_port_indev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsp/imxrt/imxrt1060-nxp-evk/applications/lvgl/lv_port_indev.c b/bsp/imxrt/imxrt1060-nxp-evk/applications/lvgl/lv_port_indev.c
index 9768e48470..afc1405b5c 100644
--- a/bsp/imxrt/imxrt1060-nxp-evk/applications/lvgl/lv_port_indev.c
+++ b/bsp/imxrt/imxrt1060-nxp-evk/applications/lvgl/lv_port_indev.c
@@ -16,6 +16,7 @@
#include "lvgl.h"
#include "board.h"
+#include "touchpad.h"
#include "fsl_video_common.h"
#include "fsl_lpi2c.h"
#include "fsl_gpio.h"