mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-11 01:43:05 +00:00
Replace DIV_ROUND_CLOSEST() with a normal division to simplify operation and avoid redundant handling of signed integer rounding as the temp value is an unsigned value. The temp value is in nano precision, so rounding is largely inconsequencial anyway compared to the comparatively low precision sync prescaler. Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.am1805 | ||
Kconfig.ds1307 | ||
Kconfig.emul | ||
Kconfig.fake | ||
Kconfig.mc146818 | ||
Kconfig.numaker | ||
Kconfig.pcf8523 | ||
Kconfig.pcf8563 | ||
Kconfig.rpi_pico | ||
Kconfig.rv3028 | ||
Kconfig.sam | ||
Kconfig.smartbond | ||
Kconfig.stm32 | ||
rtc_am1805.c | ||
rtc_ds1307.c | ||
rtc_emul.c | ||
rtc_fake.c | ||
rtc_handlers.c | ||
rtc_ll_stm32.c | ||
rtc_ll_stm32.h | ||
rtc_mc146818.c | ||
rtc_numaker.c | ||
rtc_pcf8523.c | ||
rtc_pcf8563.c | ||
rtc_rpi_pico.c | ||
rtc_rv3028.c | ||
rtc_sam.c | ||
rtc_shell.c | ||
rtc_smartbond.c | ||
rtc_utils.c | ||
rtc_utils.h |