diff options
author | Christian Cunningham <cc@localhost> | 2021-12-03 10:03:29 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2021-12-03 10:03:29 -0700 |
commit | 2affe4c1e52775be8ad5eb0b026987ab712efcee (patch) | |
tree | 26640ab7782cba5bc1a2d19f19e1937f27ee7355 /src | |
parent | 18b60c587559903f210596f1272052262af5eb9a (diff) |
Fixed volatile ASM
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ static inline void store32(unsigned long value, unsigned long addr) { } static inline void delay(unsigned long cycles) { - asm volatile("__delay_%=: subs%[cycles], %[cycles], #1;bne __delay_%=\n" + asm volatile("__delay_%=: subs %[cycles], %[cycles], #1;bne __delay_%=\n" : "=r"(cycles): [cycles]"0"(cycles) : "cc"); } |