Add --cancel flag to parse command to allow command-line testing
This commit is contained in:
parent
3340168097
commit
2fd9ffa8e5
3 changed files with 28 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ static inline uint32_t atomic_dec(volatile uint32_t *p) {
|
|||
#else
|
||||
|
||||
static inline uint32_t atomic_load(const volatile uint32_t *p) {
|
||||
return __atomic_load_n(p, __ATOMIC_SEQ_CST);
|
||||
return __atomic_load_n(p, __ATOMIC_RELAXED);
|
||||
}
|
||||
|
||||
static inline uint32_t atomic_inc(volatile uint32_t *p) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue