fix: make include cm4 dependant on SERIES, not MYNEWT only

This commit is contained in:
Bas van den Berg
2022-09-26 14:49:18 +02:00
committed by Szymon Janc
parent 00d10c2d99
commit 0cdfaa8622
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -30,7 +30,9 @@
#if MYNEWT
#include "mcu/cmsis_nvic.h"
#else
#ifdef NRF52_SERIES
#include "core_cm4.h"
#endif
#include <nimble/nimble_npl_os.h>
#endif
#include "os/os_trace_api.h"
+3
View File
@@ -48,8 +48,11 @@
#include "mcu/cmsis_nvic.h"
#include "hal/hal_gpio.h"
#else
#include <hal/nrf_clock.h>
#ifdef NRF52_SERIES
#include "core_cm4.h"
#endif
#endif
#include <nrf_erratas.h>
#include "phy_priv.h"