fix: touch configuration security risk fixed

This commit is contained in:
Y1hsiaochunnn
2026-03-30 15:29:31 +08:00
parent a877d95f74
commit addf5fcc64
11 changed files with 66 additions and 12 deletions

View File

@ -185,7 +185,7 @@ private:
.dc_low_on_data = 0,
.disable_control_phase = 1,
},
}
};
tp_io_config.scl_speed_hz = 400* 1000;
ESP_ERROR_CHECK(esp_lcd_new_panel_io_i2c(i2c_bus_, &tp_io_config, &tp_io_handle));
ESP_LOGI(TAG, "Initialize touch controller");