summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/main.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-05-30 17:58:32 +0200
committerMichael Buesch <mb@bu3sch.de>2009-05-30 17:58:32 +0200
commitd31ac3343c7839c2c5244c615fd498bf63c3a2a8 (patch)
tree7b5cfc16d5c55f34412ee805e91de96f480264a0 /pressure_control/firmware/main.c
parent4b9c9858e408dd8d8ef29a315496af714ccb8bdf (diff)
downloadcnc-d31ac3343c7839c2c5244c615fd498bf63c3a2a8.tar.xz
cnc-d31ac3343c7839c2c5244c615fd498bf63c3a2a8.zip
pressure_control: Add support for valves with one magnet
Signed-off-by: Michael Buesch <mb@bu3sch.de>
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 c306212..65443cc 100644
--- a/pressure_control/firmware/main.c
+++ b/pressure_control/firmware/main.c
@@ -43,8 +43,8 @@ struct pressure_state state;
/* The 1000Hz jiffies counter */
static jiffies_t jiffies_counter;
-DEFINE_VALVE(xy_control_valves, D, 6, 7, 4, 5);
-DEFINE_VALVE(z_control_valves, C, 2, 3, 4, 5);
+DEFINE_VALVE(xy_control_valves, VALVES_2MAG, D, 6, 7, 4, 5);
+DEFINE_VALVE(z_control_valves, VALVES_1MAG, C, 2, 3, 4, 5);
static DEFINE_SENSOR(xy_control_sensor, 0, 245, 4400, 10000);
static DEFINE_SENSOR(z_control_sensor, (1<<MUX0), 245, 4400, 10000);
bues.ch cgit interface