Skip to content
Commit af063ccd authored by Pawel Dunaj's avatar Pawel Dunaj Committed by Carles Cufí
Browse files

drivers: timer: nrf_rtc: Use correct macro when capping cycles



When checking the absolute value of cycles set to the comparator
use the MAX_CYCLES instead of MAX_TICKS.

The commit changes function names and comments to make it clear
where ticks (system ticks) and where RTC cycles are used.

Fixes #26701

Signed-off-by: default avatarPawel Dunaj <pawel.dunaj@nordicsemi.no>
parent 619a4988
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment