mirror of
https://xff.cz/git/pinephone-keyboard/
synced 2024-11-09 22:15:42 +01:00
firmware: Don't trigger stop twice in i2c_a_read
This commit is contained in:
parent
b3412ee2a4
commit
7f1655be83
1 changed files with 1 additions and 1 deletions
|
@ -1065,7 +1065,7 @@ static uint8_t i2c_a_read(void)
|
||||||
// read received data
|
// read received data
|
||||||
REG_SYS(I2CA_DATA) = P0_I2CBDB;
|
REG_SYS(I2CA_DATA) = P0_I2CBDB;
|
||||||
|
|
||||||
status = 0;
|
return 0;;
|
||||||
err:
|
err:
|
||||||
i2c_a_stop();
|
i2c_a_stop();
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Reference in a new issue