sync: use matching #ifdefs in source as in header
Fixes github issue #298
This commit is contained in:
parent
5a0c305aad
commit
34ed0a740b
@ -26,9 +26,7 @@ void __dmb()
|
||||
}
|
||||
|
||||
/* Those are defined only on CM3 or CM4 */
|
||||
#if defined(__ARM_ARCH_6M__)
|
||||
/* no work around for cm0 */
|
||||
#else
|
||||
#if defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7EM__)
|
||||
|
||||
uint32_t __ldrex(volatile uint32_t *addr)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user