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 11ff74e commit c241a43Copy full SHA for c241a43
1 file changed
src/SCThreadingSupport.h
@@ -54,7 +54,7 @@ inline bool casAtomic(position_ptr_t ptr, position_t expected, position_t newVal
54
uint32_t exp = expected;
55
return core_util_atomic_cas_u32(ptr, &exp, newVal);
56
}
57
-inline position_t readAtomic(position_ptr_t ptr) { return *(ptr); }
+inline uint32_t readAtomic(position_ptr_t ptr) { return *(ptr); }
58
#elif (defined(SC_USE_ARM_ASM_CAS) || defined(ARDUINO_ARCH_STM32)) && !defined(SC_NO_ARM_ASM_CAS)
59
#define atomicInitialisationSupport()
60
#include <Arduino.h>
0 commit comments