fixed tbs6916 read MAC address issue

This commit is contained in:
Davin622
2024-05-13 17:15:14 +08:00
parent 4b9d3dad3f
commit 8b5097e090
2 changed files with 3 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ struct tbsecp3_board tbsecp3_boards[] = {
.adapters = 16, .adapters = 16,
.i2c_speed = 39, .i2c_speed = 39,
.eeprom_i2c = 1, .eeprom_i2c = 1,
.eeprom_addr = 0x00, .eeprom_addr = 0x02,
.adap_config = { .adap_config = {
{ {
.ts_in = 0, .ts_in = 0,

View File

@@ -1090,6 +1090,8 @@ static struct stid135_cfg tbs6916_stid135_cfg[] = {
.set_voltage = max_set_voltage, .set_voltage = max_set_voltage,
.write_properties = ecp3_spi_write, .write_properties = ecp3_spi_write,
.read_properties = ecp3_spi_read, .read_properties = ecp3_spi_read,
.write_eeprom = ecp3_eeprom_write,
.read_eeprom = ecp3_eeprom_read,
.set_TSsampling = NULL, .set_TSsampling = NULL,
.set_TSparam = NULL, .set_TSparam = NULL,
.vglna =false, .vglna =false,