nrfx_glue: Provide a stubbed NRFX_DELAY for builds without Zephyr

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-10-20 13:59:11 +02:00
parent b0d95c2f70
commit 0cf5ea9e3c
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ extern "C" {
#error This file should not be included in builds with Zephyr. Use the one provided by the nordic_hal zephyr module in that case.
#endif
#ifndef NRFX_DELAY_US
#define NRFX_DELAY_US(x)
#endif
#include "nrfx_glue_bsim.h"
#ifdef __cplusplus