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 b7632e4 commit d4eda9cCopy full SHA for d4eda9c
1 file changed
src/SCThreadingSupport.h
@@ -26,7 +26,7 @@ inline bool casAtomic(position_ptr_t ptr, position_t expected, position_t newVal
26
uint32_t exp = expected;
27
return core_util_atomic_cas_u32(ptr, &exp, newVal);
28
}
29
-inline uint16_t readAtomic(position_ptr_t ptr) { return *(ptr); }
+inline position_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
#if __CORTEX_M > 0x03U
0 commit comments