summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/main.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2010-06-13 22:18:57 +0200
committerMichael Buesch <mb@bu3sch.de>2010-06-13 22:18:57 +0200
commit64e774876f2c689583d31f8f67bd696ba9a9d1a7 (patch)
tree78c7bc70af839c4dae395aa09039634e3fe3cd67 /pressure_control/firmware/main.h
parent2aff70cc25aaea697a29c746677c2e3d68b65b41 (diff)
downloadcnc-64e774876f2c689583d31f8f67bd696ba9a9d1a7.tar.xz
cnc-64e774876f2c689583d31f8f67bd696ba9a9d1a7.zip
pressure_control: Don't allow changing parameters on disabled device
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'pressure_control/firmware/main.h')
-rw-r--r--pressure_control/firmware/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pressure_control/firmware/main.h b/pressure_control/firmware/main.h
index ecfbf45..cbe52dd 100644
--- a/pressure_control/firmware/main.h
+++ b/pressure_control/firmware/main.h
@@ -68,6 +68,7 @@ void set_pressure_config(struct pressure_config *xy,
void get_pressure_state(struct pressure_state *state);
void prepare_turn_on(void);
void prepare_shutdown(void);
+bool device_is_enabled(void);
struct valves;
bues.ch cgit interface