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 9111aa4 commit 284e9f8Copy full SHA for 284e9f8
hal/common/mbed_critical.c
@@ -86,6 +86,9 @@ void core_util_critical_section_exit(void)
86
87
#if EXCLUSIVE_ACCESS
88
89
+/* Supress __ldrex and __strex deprecated warnings - "#3731-D: intrinsic is deprecated" */
90
+#pragma diag_suppress 3731
91
+
92
bool core_util_atomic_cas_u8(uint8_t *ptr, uint8_t *expectedCurrentValue, uint8_t desiredValue)
93
{
94
uint8_t currentValue = __LDREXB((volatile uint8_t*)ptr);
0 commit comments