aboutsummaryrefslogtreecommitdiffstats
path: root/sw/relays.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sw/relays.hpp')
-rw-r--r--sw/relays.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/relays.hpp b/sw/relays.hpp
index f6fc18b..8dd180e 100644
--- a/sw/relays.hpp
+++ b/sw/relays.hpp
@@ -26,4 +26,11 @@
#include <stdlib.h>
#include <stdint.h>
+#include "common.hpp"
+
+void relays_init();
+
+void relays_handle(const timer_t& time_now);
+
+bool relays_toggle(relay_id_t relay, bool set_not_reset, const timer_t& when);