aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-wdt.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-19 17:20:46 -0600
committerSelene ToyKeeper2017-08-19 17:20:46 -0600
commit73a5a6974a98aa73ab392272b4d69d285c85dee5 (patch)
tree8bbd44cd1875da1f1af81d5bcdc997015361fe19 /spaghetti-monster/fsm-wdt.h
parentExtra debouncing in PCINT (don't emit event if push was rejected). (diff)
downloadanduril-73a5a6974a98aa73ab392272b4d69d285c85dee5.tar.gz
anduril-73a5a6974a98aa73ab392272b4d69d285c85dee5.tar.bz2
anduril-73a5a6974a98aa73ab392272b4d69d285c85dee5.zip
Completely reorganized SpaghettiMonster code into smaller logical pieces: fsm-*.c and fsm-*.h.
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/fsm-wdt.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-wdt.h b/spaghetti-monster/fsm-wdt.h
new file mode 100644
index 0000000..d7c64f5
--- /dev/null
+++ b/spaghetti-monster/fsm-wdt.h
@@ -0,0 +1,26 @@
+/*
+ * fsm-wdt.h: WDT (Watch Dog Timer) functions for SpaghettiMonster.
+ *
+ * Copyright (C) 2017 Selene ToyKeeper
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef FSM_WDT_H
+#define FSM_WDT_H
+
+void WDT_on();
+inline void WDT_off();
+
+#endif