Skip to content
Commit f18ea957 authored by Jędrzej Ciupis's avatar Jędrzej Ciupis Committed by Fabio Baltieri
Browse files

drivers: timer: nrf_grtc_timer: fix return type signedness



Negative error codes cannot be returned if the function returns an
unsigned integer. Change function's API to return the read compare
register value through a pointer and the actual result as a signed
integer.

Signed-off-by: default avatarJędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
parent 6e66aa1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment