From 7cb4fe0944b839f28dfd96a88a772cd6a8b58019 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Thu, 2 Nov 2023 17:16:25 -0600 Subject: reorganized project files (part 1) (just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff) --- fsm/main.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 fsm/main.h (limited to 'fsm/main.h') 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(); + -- cgit v1.2.3