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) --- spaghetti-monster/fsm-wdt.h | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 spaghetti-monster/fsm-wdt.h (limited to 'spaghetti-monster/fsm-wdt.h') diff --git a/spaghetti-monster/fsm-wdt.h b/spaghetti-monster/fsm-wdt.h deleted file mode 100644 index abf34c5..0000000 --- a/spaghetti-monster/fsm-wdt.h +++ /dev/null @@ -1,20 +0,0 @@ -// fsm-wdt.h: WDT (Watch Dog Timer) functions for SpaghettiMonster. -// Copyright (C) 2017-2023 Selene ToyKeeper -// SPDX-License-Identifier: GPL-3.0-or-later - -#pragma once - -#define TICKS_PER_SECOND 62 - -void WDT_on(); -inline void WDT_off(); - -volatile uint8_t irq_wdt = 0; // WDT interrupt happened? - -#ifdef TICK_DURING_STANDBY - #if defined(USE_INDICATOR_LED) || defined(USE_AUX_RGB_LEDS) - // measure battery charge while asleep - #define USE_SLEEP_LVP - #endif -#endif - -- cgit v1.2.3