aboutsummaryrefslogtreecommitdiff
path: root/fsm/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'fsm/main.h')
-rw-r--r--fsm/main.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fsm/main.h b/fsm/main.h
new file mode 100644
index 0000000..2e2a111
--- /dev/null
+++ b/fsm/main.h
@@ -0,0 +1,10 @@
+// fsm-main.h: main() function for SpaghettiMonster.
+// Copyright (C) 2017-2023 Selene ToyKeeper
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+int main();
+// needs to run frequently to execute the logic for WDT and ADC and stuff
+void handle_deferred_interrupts();
+