arch/arm/src/lc823450/lc823450_i2c.c: Remove extra rounding after MSEC2TIC change to round up
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
parent
05eb8541d1
commit
4f957f8031
@ -305,7 +305,7 @@ lc823450_i2c_sem_waitdone(struct lc823450_i2c_priv_s *priv)
|
||||
|
||||
/* Get the timeout value */
|
||||
|
||||
timeout = MSEC2TICK(priv->timeoms + (MSEC_PER_TICK / 2));
|
||||
timeout = MSEC2TICK(priv->timeoms);
|
||||
timeout += SEC2TICK(CONFIG_LC823450_I2C_TIMEOSEC);
|
||||
|
||||
/* Signal the interrupt handler that we are waiting. NOTE: Interrupts
|
||||
|
Loading…
Reference in New Issue
Block a user