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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pressure_control/firmware/main.c b/pressure_control/firmware/main.c
index fc16dad..cd29339 100644
--- a/pressure_control/firmware/main.c
+++ b/pressure_control/firmware/main.c
@@ -164,7 +164,7 @@ static void check_pressure(void)
valves_force_state(VALVES_IDLE);
}
}
-//FIXME remote_pressure_change_notification(state.mbar, cfg.hysteresis);
+ remote_pressure_change_notification(state.mbar, cfg.hysteresis);
}
int main(void)
@@ -199,6 +199,7 @@ int main(void)
check_pressure();
/* Trigger another measurement in 50 milliseconds. */
state.sensor_trigger_cnt = 50;
+ state.needs_checking = 0;
mb();
}
remote_work();
bues.ch cgit interface