Skip to content

Commit 644f8a8

Browse files
committed
fix: cmsis definition
Fixes #54. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent ae2a074 commit 644f8a8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/STM32CubeWL/LoRaWAN/Mac/LoRaMac.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@
107107
#define __ROOT __root
108108
#endif
109109
#else
110-
#ifndef __NO_INIT
111-
#define __NO_INIT
110+
#ifdef __NO_INIT
111+
#undef __NO_INIT
112112
#endif
113+
#define __NO_INIT
113114
#ifndef __ROOT
114115
#define __ROOT
115116
#endif

0 commit comments

Comments
 (0)