summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/util.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2010-01-18 02:17:12 +0100
committerMichael Buesch <mb@bu3sch.de>2010-01-18 02:17:12 +0100
commita94521a4841cf17a22c8737bdd87f872318afe3f (patch)
treea7b7df2cb776eb26d484cc2c0a21921ded4cf65f /pressure_control/firmware/util.c
parent65447104d64adb99db9c862ed501e930d091fe15 (diff)
downloadcnc-a94521a4841cf17a22c8737bdd87f872318afe3f.tar.xz
cnc-a94521a4841cf17a22c8737bdd87f872318afe3f.zip
pressure_control: Fix IRQ memory barriers
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'pressure_control/firmware/util.c')
-rw-r--r--pressure_control/firmware/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pressure_control/firmware/util.c b/pressure_control/firmware/util.c
index 7497740..3ed33f3 100644
--- a/pressure_control/firmware/util.c
+++ b/pressure_control/firmware/util.c
@@ -81,7 +81,7 @@ void panic(const prog_char *msg)
void infinite_sleep(void)
{
- cli();
+ irq_disable();
set_sleep_mode(SLEEP_MODE_PWR_DOWN);
while (1)
sleep_mode();
bues.ch cgit interface