We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f57e3ac commit 73a6349Copy full SHA for 73a6349
1 file changed
src/SCThreadingSupport.h
@@ -29,7 +29,7 @@ inline bool casAtomic(position_ptr_t ptr, position_t expected, position_t newVal
29
inline uint16_t readAtomic(position_ptr_t ptr) { return *(ptr); }
30
#elif (defined(SC_USE_ARM_ASM_CAS) || defined(ARDUINO_ARCH_STM32)) && !defined(SC_NO_ARM_ASM_CAS)
31
#include <Arduino.h>
32
-#ifdef (__CORTEX_M > 0x03U)
+#if __CORTEX_M > 0x03U
33
#define SIMPLE_COLLECTIONS_ARM_SUPPORT
34
typedef volatile uint32_t* position_ptr_t;
35
typedef volatile uint32_t position_t;
0 commit comments