From ac88d6fa1a614e758367ee197f92c324b10145db Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Tue, 10 Mar 2026 09:23:26 +0100 Subject: [PATCH] fix: cmsis definition Fixes #54. Signed-off-by: Frederic Pillon --- src/STM32CubeWL/LoRaWAN/Mac/LoRaMac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/STM32CubeWL/LoRaWAN/Mac/LoRaMac.c b/src/STM32CubeWL/LoRaWAN/Mac/LoRaMac.c index d46efc4..b5f8892 100644 --- a/src/STM32CubeWL/LoRaWAN/Mac/LoRaMac.c +++ b/src/STM32CubeWL/LoRaWAN/Mac/LoRaMac.c @@ -107,9 +107,10 @@ #define __ROOT __root #endif #else -#ifndef __NO_INIT -#define __NO_INIT +#ifdef __NO_INIT +#undef __NO_INIT #endif +#define __NO_INIT #ifndef __ROOT #define __ROOT #endif