Skip to content

Commit

Permalink
Update i2c.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ligenxxxx committed Feb 6, 2024
1 parent d7e2e95 commit 4194bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ uint8_t I2C_Write8_Wait(uint16_t ms, uint8_t slave_addr, uint8_t reg_addr, uint8
uint8_t ret;
ret = I2C_Write8(slave_addr, reg_addr, val);
WAIT(ms + 2);
return
return ret;
}

uint8_t I2C_Write16(uint8_t slave_addr, uint16_t reg_addr, uint16_t val) {
Expand Down

0 comments on commit 4194bec

Please sign in to comment.