diff --git a/cores/nRF5/SDK/components/drivers_nrf/delay/nrf_delay.h b/cores/nRF5/SDK/components/drivers_nrf/delay/nrf_delay.h index 42d5beb1..a30c9695 100644 --- a/cores/nRF5/SDK/components/drivers_nrf/delay/nrf_delay.h +++ b/cores/nRF5/SDK/components/drivers_nrf/delay/nrf_delay.h @@ -154,7 +154,7 @@ cond: } } -#elif defined ( _WIN32 ) || defined ( __unix ) || defined( __APPLE__ ) +#elif defined ( _WIN32 ) /*|| defined ( __unix )*/ || defined( __APPLE__ ) #ifndef CUSTOM_NRF_DELAY_US diff --git a/cores/nRF5/SDK/components/libraries/util/app_util_platform.c b/cores/nRF5/SDK/components/libraries/util/app_util_platform.c index bbe5856a..ad6b1090 100644 --- a/cores/nRF5/SDK/components/libraries/util/app_util_platform.c +++ b/cores/nRF5/SDK/components/libraries/util/app_util_platform.c @@ -92,7 +92,7 @@ void app_util_critical_region_exit(uint8_t nested) uint8_t privilege_level_get(void) { -#if __CORTEX_M == (0x00U) || defined(_WIN32) || defined(__unix) || defined(__APPLE__) +#if __CORTEX_M == (0x00U) || defined(_WIN32) /*|| defined(__unix)*/ || defined(__APPLE__) /* the Cortex-M0 has no concept of privilege */ return APP_LEVEL_PRIVILEGED; #elif __CORTEX_M == (0x04U)