When sending small number of bytes with larger CONFIG_USEC_PER_TICK this function should return at least 1. Solve this by rounding up the result. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
When sending small number of bytes with larger CONFIG_USEC_PER_TICK this function should return at least 1. Solve this by rounding up the result. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>