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 87fa313 commit 4bf9881Copy full SHA for 4bf9881
src/rp2_common/hardware_sync/include/hardware/sync.h
@@ -207,7 +207,7 @@ __force_inline static uint32_t disable_interrupts(void) {
207
riscv_clear_csr(mstatus, 8);
208
__compiler_memory_barrier();
209
#else
210
- pico_default_asm_volatile ( "cpsid i" :: "memory");
+ pico_default_asm_volatile ( "cpsid i" : : : "memory");
211
#endif
212
}
213
@@ -220,7 +220,7 @@ __force_inline static uint32_t enable_interrupts(void) {
220
riscv_set_csr(mstatus, 8);
221
222
223
- pico_default_asm_volatile ( "cpsie i" :: "memory");
+ pico_default_asm_volatile ( "cpsie i" : : : "memory");
224
225
226
0 commit comments