summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'pressure_control/firmware/main.c')
-rw-r--r--pressure_control/firmware/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pressure_control/firmware/main.c b/pressure_control/firmware/main.c
index f0671b4..d947228 100644
--- a/pressure_control/firmware/main.c
+++ b/pressure_control/firmware/main.c
@@ -298,7 +298,7 @@ int main(void)
{
uint8_t mcucsr;
- cli();
+ irq_disable();
mcucsr = MCUCSR;
MCUCSR = 0;
wdt_disable();
@@ -328,7 +328,7 @@ int main(void)
eeprom_load_config();
system_timer_init();
- sei();
+ irq_enable();
print("Monitoring...\n");
remote_work();
bues.ch cgit interface