summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/util.c
diff options
context:
space:
mode:
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