diff --git a/examples/platforms/nrf52840/platform-softdevice.h b/examples/platforms/nrf52840/platform-softdevice.h index e79236305..c3262cd52 100644 --- a/examples/platforms/nrf52840/platform-softdevice.h +++ b/examples/platforms/nrf52840/platform-softdevice.h @@ -54,18 +54,18 @@ typedef struct uint16_t timeslotAllocIters; /**< Maximum number of iteration of dividing timeslot_length by factor of 2 performed by arbiter. */ uint16_t timeslotSafeMargin; /**< Safe margin before timeslot is finished and nrf_raal_timeslot_ended should be called in microseconds. */ uint16_t lfClkAccuracyPpm; /**< Clock accuracy in ppm unit. */ -} PlatformSoftdeviceRaalConfigParams; +} otSysSoftdeviceRaalConfigParams; /** * Function for processing SoftDevice SoC events. * */ -void PlatformSoftdeviceSocEvtHandler(uint32_t aEvtId); +void otSysSoftdeviceSocEvtHandler(uint32_t aEvtId); /** * Function used to set non-default parameters of Softdevice RAAL. * */ -void PlatformSoftdeviceRaalConfig(const PlatformSoftdeviceRaalConfigParams *aConfig); +void otSysSoftdeviceRaalConfig(const otSysSoftdeviceRaalConfigParams *aConfig); #endif // PLATFORM_SOFTDEVICE_H_ diff --git a/examples/platforms/nrf52840/softdevice.c b/examples/platforms/nrf52840/softdevice.c index 300d1d469..a4ab9a19d 100644 --- a/examples/platforms/nrf52840/softdevice.c +++ b/examples/platforms/nrf52840/softdevice.c @@ -82,13 +82,13 @@ otError nrf5SdErrorToOtError(uint32_t aSdError) } } -void PlatformSoftdeviceSocEvtHandler(uint32_t aEvtId) +void otSysSoftdeviceSocEvtHandler(uint32_t aEvtId) { nrf5SdSocFlashProcess(aEvtId); nrf_raal_softdevice_soc_evt_handler(aEvtId); } -void PlatformSoftdeviceRaalConfig(const PlatformSoftdeviceRaalConfigParams *aConfig) +void otSysSoftdeviceRaalConfig(const otSysSoftdeviceRaalConfigParams *aConfig) { nrf_raal_softdevice_cfg_t cfg; memset(&cfg, 0, sizeof(cfg));