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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pressure_control/firmware/main.c b/pressure_control/firmware/main.c
index 177adef..8e824d4 100644
--- a/pressure_control/firmware/main.c
+++ b/pressure_control/firmware/main.c
@@ -289,6 +289,11 @@ void prepare_shutdown(void)
state.device_enabled = 0;
}
+bool device_is_enabled(void)
+{
+ return state.device_enabled;
+}
+
int main(void)
{
uint8_t mcucsr;
bues.ch cgit interface