summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/tms320dm320/kernel-dm320.c2
-rw-r--r--firmware/target/arm/tms320dm320/uart-dm320.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/kernel-dm320.c b/firmware/target/arm/tms320dm320/kernel-dm320.c
index 487bc2d7d2..be2b14b3cb 100644
--- a/firmware/target/arm/tms320dm320/kernel-dm320.c
+++ b/firmware/target/arm/tms320dm320/kernel-dm320.c
@@ -59,5 +59,5 @@ void TIMER1(void)
current_tick++;
- IO_INTC_IRQ0 |= 1<<IRQ_TIMER1;
+ IO_INTC_IRQ0 = 1<<IRQ_TIMER1;
}
diff --git a/firmware/target/arm/tms320dm320/uart-dm320.c b/firmware/target/arm/tms320dm320/uart-dm320.c
index 8b3d40fc2a..6425b75960 100644
--- a/firmware/target/arm/tms320dm320/uart-dm320.c
+++ b/firmware/target/arm/tms320dm320/uart-dm320.c
@@ -149,5 +149,5 @@ void UART1(void)
}
}
- IO_INTC_IRQ0 |= (1<<IRQ_UART1);
+ IO_INTC_IRQ0 = (1<<IRQ_UART1);
}