Skip to content

Commit d69e7a4

Browse files
committed
adjust touchscreen sensitivity.
1 parent 3b2160e commit d69e7a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/embed/trezorhal/gt911.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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++) {

0 commit comments

Comments
 (0)