summaryrefslogtreecommitdiffstatshomepage
path: root/py/asmarm.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-03 15:40:50 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-03 15:40:50 +1100
commit3f9c45efd126810cb30986cc4a4f49c2baa62caf (patch)
tree14d019eba75a68b2491e6a180c9851afb0a6355e /py/asmarm.c
parent714a59ab64c4a713c38ced157d78dacd88242880 (diff)
downloadmicropython-3f9c45efd126810cb30986cc4a4f49c2baa62caf.tar.gz
micropython-3f9c45efd126810cb30986cc4a4f49c2baa62caf.zip
py/asmarm: Fix assembler's PASS_EMIT constant name.
Diffstat (limited to 'py/asmarm.c')
-rw-r--r--py/asmarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/asmarm.c b/py/asmarm.c
index 56e05cf560..da07680e31 100644
--- a/py/asmarm.c
+++ b/py/asmarm.c
@@ -39,7 +39,7 @@
#define SIGNED_FIT24(x) (((x) & 0xff800000) == 0) || (((x) & 0xff000000) == 0xff000000)
void asm_arm_end_pass(asm_arm_t *as) {
- if (as->base.pass == ASM_ARM_PASS_EMIT) {
+ if (as->base.pass == MP_ASM_PASS_EMIT) {
#ifdef __arm__
// flush I- and D-cache
asm volatile(