diff options
author | Glenn Ruben Bakke <glennbakke@gmail.com> | 2019-05-21 18:18:44 +0200 |
---|---|---|
committer | Glenn Ruben Bakke <glennbakke@gmail.com> | 2019-05-21 23:16:20 +0200 |
commit | d80abd035e209b8fcc399b142352a49702f701fc (patch) | |
tree | 7b4d02010454705cc6829fdf3c0dc152e30c989c | |
parent | 85bde0889da8cc3315a3c96ff6933ca19e356569 (diff) |
nrf/nrfx_glue: Adapt to nrfx v.1.7.1.
Defining NRFX_STATIC_ASSERT macro to be empty, but available
to nrfx.
-rw-r--r-- | ports/nrf/nrfx_glue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/nrf/nrfx_glue.h b/ports/nrf/nrfx_glue.h index 0108e3242..316e02df1 100644 --- a/ports/nrf/nrfx_glue.h +++ b/ports/nrf/nrfx_glue.h @@ -29,6 +29,8 @@ #include <soc/nrfx_irqs.h> +#define NRFX_STATIC_ASSERT(expression) + #define NRFX_ASSERT(expression) do { bool res = expression; (void)res; } while (0) #define NRFX_DELAY_US mp_hal_delay_us |