aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/fsm-ramping.h (renamed from RoundTable/rt-ramping.h)2
-rw-r--r--spaghetti-monster/momentary.c (renamed from RoundTable/momentary.c)8
-rw-r--r--spaghetti-monster/spaghetti-monster.h (renamed from RoundTable/round-table.c)5
-rw-r--r--tk-attiny.h4
4 files changed, 10 insertions, 9 deletions
diff --git a/RoundTable/rt-ramping.h b/spaghetti-monster/fsm-ramping.h
index 61561c4..fd4d40b 100644
--- a/RoundTable/rt-ramping.h
+++ b/spaghetti-monster/fsm-ramping.h
@@ -1,5 +1,5 @@
/*
- * rt-ramping.h: Ramping functions for Round Table.
+ * fsm-ramping.h: Ramping functions for SpaghettiMonster.
* Handles 1- to 4-channel smooth ramping on a single LED.
*
* Copyright (C) 2017 Selene ToyKeeper
diff --git a/RoundTable/momentary.c b/spaghetti-monster/momentary.c
index fcf0780..bb74795 100644
--- a/RoundTable/momentary.c
+++ b/spaghetti-monster/momentary.c
@@ -1,6 +1,6 @@
/*
- * Momentary: Very simple example UI for RoundTable.
- * Is intended to be the simplest possible RT e-switch UI.
+ * Momentary: Very simple example UI for SpaghettiMonster.
+ * Is intended to be the simplest possible FSM e-switch UI.
* The light is on while the button is held; off otherwise.
*
* Copyright (C) 2017 Selene ToyKeeper
@@ -19,10 +19,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define RT_EMISAR_D4_LAYOUT
+#define FSM_EMISAR_D4_LAYOUT
#define USE_LVP
#define USE_DEBUG_BLINK
-#include "round-table.c"
+#include "spaghetti-monster.h"
volatile uint8_t brightness;
volatile uint8_t on_now;
diff --git a/RoundTable/round-table.c b/spaghetti-monster/spaghetti-monster.h
index b18228d..af6d828 100644
--- a/RoundTable/round-table.c
+++ b/spaghetti-monster/spaghetti-monster.h
@@ -1,8 +1,9 @@
/*
- * RoundTable: Generic foundation code for e-switch flashlights.
+ * SpaghettiMonster: Generic foundation code for e-switch flashlights.
* Other possible names:
+ * - FSM
+ * - RoundTable
* - Mostly Harmless
- * - FSM / SpaghettiMonster
* - ...
*
* Copyright (C) 2017 Selene ToyKeeper
diff --git a/tk-attiny.h b/tk-attiny.h
index 22b73f9..e852109 100644
--- a/tk-attiny.h
+++ b/tk-attiny.h
@@ -165,7 +165,7 @@
#endif // NANJG_LAYOUT
-#ifdef RT_EMISAR_D4_LAYOUT
+#ifdef FSM_EMISAR_D4_LAYOUT
#define LAYOUT_DEFINED
/*
* ----
@@ -204,7 +204,7 @@
#endif
-#ifdef RT_TKSABER_LAYOUT
+#ifdef FSM_TKSABER_LAYOUT
#define LAYOUT_DEFINED
/*
* ----