Skip to content

Commit f567d90

Browse files
committed
mpsl: align to nrfx 4.0
MDK should not be included directly, but via nrfx.h Signed-off-by: Marcin Szymczyk <[email protected]>
1 parent d52b51d commit f567d90

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

mpsl/include/mpsl.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ extern "C" {
2222

2323
#include <stdint.h>
2424
#include <stdbool.h>
25-
#include "nrf.h"
26-
#include "nrf_peripherals.h"
25+
#include "nrfx.h"
2726
#include "nrf_errno.h"
2827
#include "mpsl_clock.h"
2928
#include "mpsl_hwres.h"

mpsl/include/mpsl_clock.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ extern "C" {
2323

2424
#include <stdint.h>
2525
#include <stdbool.h>
26-
#include "nrf.h"
27-
#include "nrf_errno.h"
26+
#include "nrfx.h"
2827
#if !defined (NRF54H_SERIES) && !defined (NRF92_SERIES)
2928
#include "hal/nrf_clock.h"
3029
#endif /* !NRF54H20_XXAA && !NRF92H20_XXAA */

mpsl/include/mpsl_hwres.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222

2323
#include <stdbool.h>
2424
#include <stdint.h>
25-
#include "nrf.h"
26-
#include "nrf_peripherals.h"
25+
#include "nrfx.h"
2726

2827
#ifdef __cplusplus
2928
extern "C" {

mpsl/include/mpsl_timeslot.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ extern "C" {
2525
#endif
2626

2727
#include <stdint.h>
28-
#include "nrf.h"
29-
#include "nrf_peripherals.h"
28+
#include "nrfx.h"
3029
#include "nrf_errno.h"
3130

3231
/** @brief The shortest allowed timeslot event in microseconds. */

0 commit comments

Comments
 (0)