Commit 4e88698
drivers: serial: nrfx_uarte: Avoid 64 bit division
When converting timeout (in microseconds) to bauds use by the HW
frame timeout use less accurate conversion but one that does not
use 64 bit division. 64 bit division takes a lot of code and time
and shoud be avoided.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>1 parent 69604fa commit 4e88698
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1846 | 1846 | | |
1847 | 1847 | | |
1848 | 1848 | | |
1849 | | - | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
1850 | 1854 | | |
1851 | | - | |
| 1855 | + | |
1852 | 1856 | | |
1853 | 1857 | | |
1854 | 1858 | | |
| |||
0 commit comments