NRF: fix implicit declarations

As a result removes warnings
pull/13044/head
Hugues Kamba 2020-05-29 20:41:17 +01:00
parent c7759fe505
commit 992133be50
2 changed files with 4 additions and 2 deletions

View File

@ -28,6 +28,7 @@
#include "crys_dh.h"
#include "ssi_pal_types.h"
#include "ssi_aes.h"
#include "sns_silib.h"
#include "crys_aesccm.h"
#endif
@ -780,7 +781,7 @@ void PalCryptoInit(void)
{
NVIC_EnableIRQ(CRYPTOCELL_IRQn);
NRF_CRYPTOCELL->ENABLE = 1;
SaSi_LibInit();
SaSi_LibInit(NULL, NULL);
}
/*************************************************************************************************/
@ -793,7 +794,7 @@ void PalCryptoInit(void)
void PalCryptoDeInit(void)
{
NRF_CRYPTOCELL->ENABLE = 1;
SaSi_LibFini();
SaSi_LibFini(NULL);
NRF_CRYPTOCELL->ENABLE = 0;
}

View File

@ -45,6 +45,7 @@ extern bool m_common_rtc_enabled;
extern uint32_t volatile m_common_rtc_overflows;
extern bool volatile lp_ticker_interrupt_fire;
void common_rtc_free(void);
void common_rtc_init(void);
uint32_t common_rtc_32bit_ticks_get(void);
uint64_t common_rtc_64bit_us_get(void);