From da6a3bc5e525a05f301937b0d12f5c41a139eaf6 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Mon, 15 Jun 2009 20:18:53 +0200 Subject: pressure-control: set min pressure to 0.5bar Signed-off-by: Michael Buesch --- pressure_control/firmware/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pressure_control/firmware/main.c') diff --git a/pressure_control/firmware/main.c b/pressure_control/firmware/main.c index 365ded8..436b3d8 100644 --- a/pressure_control/firmware/main.c +++ b/pressure_control/firmware/main.c @@ -45,8 +45,8 @@ struct pressure_state state; /* The 1000Hz jiffies counter */ static jiffies_t jiffies_counter; -DEFINE_VALVE(z_control_valves, VALVES_2MAG, D, 6, 7, 4, 5); -DEFINE_VALVE(xy_control_valves, VALVES_1MAG, C, 2, -1, 3, -1); +DEFINE_VALVE(z_control_valves, VALVES_2MAG, D, 6, 7, 4, 5, 0); +DEFINE_VALVE(xy_control_valves, VALVES_1MAG, C, 2, -1, 3, -1, 400); static DEFINE_SENSOR(z_control_sensor, 0, 245, 4400, 10000); static DEFINE_SENSOR(xy_control_sensor, (1<state_force_threshold) { /* If the pressure in the reservoir is low, * the feedforward of the pneumatic valve for * flow-out might not work correctly. So force poke -- cgit v1.2.3