static unsigned char binary_data[] = {
-#ifdef TB1_USE_F402
+#if(TB1_USE_F402)
#include "f307&f317&f316_CT363S_01_V10_F7E9_140212.dat"
#else
#include "lx--js77_97_CT365_V01_E7DA_130419.dat"
y = ts->config_info.screen_max_y - y;\r
#endif\r
\r
- #ifdef TB1_USE_F402\r
+ #if(TB1_USE_F402) \r
x = 2*x;\r
y = 2*y;\r
- #endif \r
+ #endif\r
+\r
//#if(DEBUG_ENABLE)\r
//if((ts->debug)||(DEBUG_ENABLE)){\r
if(ts->debug){\r
\r
#define TS_I2C_SPEED 400000 //for rockchip\r
\r
-#ifdef TB1_USE_F402\r
+#if(TB1_USE_F402)\r
#define XY_SWAP_ENABLE 1\r
#else\r
#define XY_SWAP_ENABLE 0\r
\r
#define X_REVERSE_ENABLE 0\r
\r
-#ifdef TB1_USE_F402\r
+#if(TB1_USE_F402)\r
#define Y_REVERSE_ENABLE 0\r
#else\r
#define Y_REVERSE_ENABLE 1\r