Skip to content

Commit 8a8ecbc

Browse files
ting-liumysterywolf
authored andcommitted
[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]>
1 parent 511bafb commit 8a8ecbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bsp/imxrt/imxrt1060-nxp-evk/applications/lvgl/lv_port_indev.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "lvgl.h"
1717

1818
#include "board.h"
19+
#include "touchpad.h"
1920
#include "fsl_video_common.h"
2021
#include "fsl_lpi2c.h"
2122
#include "fsl_gpio.h"

0 commit comments

Comments
 (0)