Skip to content

Commit

Permalink
fixup! fixup! chore(core): unify i2c instances numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
TychoVrahe committed Jan 5, 2024
1 parent 8f5a662 commit 2f32b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/embed/trezorhal/stm32u5/touch/sitronix.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* Input : Register Address, length of buffer
* Output : pdata Read
*******************************************************************************/
int32_t sitronix_read_reg(uint8_t reg, uint8_t *pdata, uin
int32_t sitronix_read_reg(uint8_t reg, uint8_t *pdata, uint16_t length) {
return i2c_mem_read(TOUCH_I2C_INSTANCE, TS_I2C_ADDRESS, reg, length, pdata,
length, 1000);
}
Expand Down

0 comments on commit 2f32b14

Please sign in to comment.