From 75a29d4d986e32bd82bc6468bba11567932a5349 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Fri, 10 Apr 2009 16:56:51 +0200 Subject: pressure_control: Fix automatic pressure control Signed-off-by: Michael Buesch --- pressure_control/firmware/main.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pressure_control/firmware/main.h') diff --git a/pressure_control/firmware/main.h b/pressure_control/firmware/main.h index 9f5cef1..cf6978a 100644 --- a/pressure_control/firmware/main.h +++ b/pressure_control/firmware/main.h @@ -18,6 +18,8 @@ struct pressure_config { struct pressure_state { /* Current pressure in the tank (in mBar) */ uint16_t mbar; + /* Reported pressure via RS232 */ + uint16_t reported_mbar; /* True, if the current pressure value needs checking against * the desired pressure config. */ bool needs_checking; @@ -26,8 +28,6 @@ struct pressure_state { * 0 = trigger now * -1 = triggered and running. */ int8_t sensor_trigger_cnt; - /* Current valves state (enum valves_global_state) */ - uint8_t valves; }; void get_pressure_config(struct pressure_config *cfg); -- cgit v1.2.3