1.将A27新UI文件夹重命名为CANUI 2.A272O新版本发布
This commit is contained in:
@ -0,0 +1,28 @@
|
||||
#include <stdio.h>
|
||||
#include "chip.h"
|
||||
#include "board.h"
|
||||
|
||||
|
||||
#ifdef TP_SUPPORT
|
||||
extern int goodix_init(void);
|
||||
extern int gt675x_init(void);
|
||||
extern int ft6336u_init(void);
|
||||
|
||||
int tp_init(void)
|
||||
{
|
||||
#if defined(TP_USE_GT9XX)
|
||||
printf("TP select gt9xx.\n");
|
||||
return goodix_init();
|
||||
#elif defined(TP_USE_GA657X)
|
||||
printf("TP select ga657x.\n");
|
||||
return gt675x_init();
|
||||
#elif defined(TP_USE_FT6336U)
|
||||
printf("TP select ft6336u.\n");
|
||||
return ft6336u_init();
|
||||
#else
|
||||
#error "Please select one tp IC"
|
||||
#endif
|
||||
|
||||
return -1;
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user