Skip to content

Commit 49c1d94

Browse files
authored
Merge pull request #13044 from hugueskamba/hk_nrf_implicit_declaration
NRF: fix implicit declarations
2 parents 95a704e + 992133b commit 49c1d94

File tree

2 files changed

+4
-2
lines changed
  • features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_NRF5x/stack/sources
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52

2 files changed

+4
-2
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_NRF5x/stack/sources/pal_crypto.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include "crys_dh.h"
2929
#include "ssi_pal_types.h"
3030
#include "ssi_aes.h"
31+
#include "sns_silib.h"
3132
#include "crys_aesccm.h"
3233
#endif
3334

@@ -780,7 +781,7 @@ void PalCryptoInit(void)
780781
{
781782
NVIC_EnableIRQ(CRYPTOCELL_IRQn);
782783
NRF_CRYPTOCELL->ENABLE = 1;
783-
SaSi_LibInit();
784+
SaSi_LibInit(NULL, NULL);
784785
}
785786

786787
/*************************************************************************************************/
@@ -793,7 +794,7 @@ void PalCryptoInit(void)
793794
void PalCryptoDeInit(void)
794795
{
795796
NRF_CRYPTOCELL->ENABLE = 1;
796-
SaSi_LibFini();
797+
SaSi_LibFini(NULL);
797798
NRF_CRYPTOCELL->ENABLE = 0;
798799
}
799800

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/common_rtc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ extern bool m_common_rtc_enabled;
4545
extern uint32_t volatile m_common_rtc_overflows;
4646
extern bool volatile lp_ticker_interrupt_fire;
4747

48+
void common_rtc_free(void);
4849
void common_rtc_init(void);
4950
uint32_t common_rtc_32bit_ticks_get(void);
5051
uint64_t common_rtc_64bit_us_get(void);

0 commit comments

Comments
 (0)