drivers: timer: nrf_grtc: Add GRTC fix for app and rad cores
Currently function `z_nrf_grtc_wakeup_prepare()` should be available only for the GRTC manager (`CONFIG_NRF_GRTC_START_SYSCOUNTER` is active). Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
This commit is contained in:
parent
ee9d23945f
commit
38575f89ea
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ int z_nrf_grtc_timer_capture_read(int32_t chan, uint64_t *captured_time)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_NRF_GRTC_SLEEP_ALLOWED)
|
||||
#if defined(CONFIG_NRF_GRTC_SLEEP_ALLOWED) && defined(CONFIG_NRF_GRTC_START_SYSCOUNTER)
|
||||
int z_nrf_grtc_wakeup_prepare(uint64_t wake_time_us)
|
||||
{
|
||||
nrfx_err_t err_code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue