aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-19 12:17:58 -0600
committerSelene ToyKeeper2017-08-19 12:17:58 -0600
commit8d2f442317fd3678213a14307f95d2f5b54c5623 (patch)
treecfcf8e6178c545b236ae8b9f3263ea78372b2834
parentAdded missing GPL header, fixed typo, fixed missing return. (diff)
downloadanduril-8d2f442317fd3678213a14307f95d2f5b54c5623.tar.gz
anduril-8d2f442317fd3678213a14307f95d2f5b54c5623.tar.bz2
anduril-8d2f442317fd3678213a14307f95d2f5b54c5623.zip
Renamed from RoundTable to SpaghettiMonster (FSM).
-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
/*
* ----
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.