Azoteq driver: Remove call to removed i2c function (#22966)

This commit is contained in:
burkfers 2024-01-26 20:20:04 +01:00 committed by GitHub
parent a632593769
commit f2299ee5f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,6 @@ static struct {
i2c_status_t azoteq_iqs5xx_wake(void) { i2c_status_t azoteq_iqs5xx_wake(void) {
uint8_t data = 0; uint8_t data = 0;
i2c_status_t status = i2c_read_register16(AZOTEQ_IQS5XX_ADDRESS, AZOTEQ_IQS5XX_REG_PREVIOUS_CYCLE_TIME, (uint8_t *)&data, sizeof(data), 1); i2c_status_t status = i2c_read_register16(AZOTEQ_IQS5XX_ADDRESS, AZOTEQ_IQS5XX_REG_PREVIOUS_CYCLE_TIME, (uint8_t *)&data, sizeof(data), 1);
i2c_stop();
wait_us(150); wait_us(150);
return status; return status;
} }