File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -140,17 +140,17 @@ void gt911_set_config(void) {
140140 GT911_Config_t * p_config = (GT911_Config_t * )config_data ;
141141
142142 gt911_read (GTP_REG_CONFIG_DATA , (uint8_t * )config_data , 1 );
143- if (config_data [0 ] == 0x4F ) {
143+ if (config_data [0 ] == 0x50 ) {
144144 return ;
145145 }
146146
147147 gt911_read (GTP_REG_CONFIG_DATA , (uint8_t * )config_data , sizeof (config_data ));
148148
149- p_config -> config_version = 0x4F ; // ‘O’
149+ p_config -> config_version = 0x50 ;
150150
151- p_config -> shake_count = 0x22 ;
151+ p_config -> shake_count = 0x11 ;
152152 p_config -> noise_reduction = 10 ;
153- p_config -> screen_touch_level = 0xA0 ;
153+ p_config -> screen_touch_level = 0x60 ;
154154
155155 p_config -> check_sum = 0 ;
156156 for (int i = 0 ; i < sizeof (config_data ) - 2 ; i ++ ) {
You can’t perform that action at this time.
0 commit comments