This commit is contained in:
huxi
2025-12-03 11:12:34 +08:00
parent c23ae4f24c
commit bc195654bf
8163 changed files with 3799544 additions and 92 deletions
@@ -0,0 +1,29 @@
#ifndef _TP_API_H_
#define _TP_API_H_
#include "app_config.h"
#if TCFG_TOUCH_PANEL_ENABLE
#if TCFG_TP_CST816D_ENABLE
extern void cst816d_init();
#define TP_INIT() cst816d_init()
#endif
#if TCFG_TP_FT3X68_ENABLE
extern void fts_ts_init();
#define TP_INIT() fts_ts_init()
#endif
#else
#define TP_INIT()
#endif /* #if TCFG_TOUCH_PANEL_ENABLE */
#endif