diff options
Diffstat (limited to 'spaghetti-monster')
| -rw-r--r-- | spaghetti-monster/anduril.c | 2 | ||||
| -rw-r--r-- | spaghetti-monster/baton.c | 2 | ||||
| -rw-r--r-- | spaghetti-monster/darkhorse.c | 2 | ||||
| -rw-r--r-- | spaghetti-monster/fsm-main.c | 4 | ||||
| -rw-r--r-- | spaghetti-monster/momentary.c | 3 | ||||
| -rw-r--r-- | spaghetti-monster/ramping-ui.c | 2 |
6 files changed, 10 insertions, 5 deletions
diff --git a/spaghetti-monster/anduril.c b/spaghetti-monster/anduril.c index 6c21bf3..998c0c5 100644 --- a/spaghetti-monster/anduril.c +++ b/spaghetti-monster/anduril.c @@ -18,7 +18,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define FSM_EMISAR_D4_LAYOUT +#define FSM_EMISAR_D4_DRIVER #define USE_LVP #define USE_THERMAL_REGULATION #define DEFAULT_THERM_CEIL 45 diff --git a/spaghetti-monster/baton.c b/spaghetti-monster/baton.c index 2489f4e..4ba329e 100644 --- a/spaghetti-monster/baton.c +++ b/spaghetti-monster/baton.c @@ -17,7 +17,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define FSM_EMISAR_D4_LAYOUT +#define FSM_EMISAR_D4_DRIVER #define USE_LVP #define USE_THERMAL_REGULATION #define DEFAULT_THERM_CEIL 45 diff --git a/spaghetti-monster/darkhorse.c b/spaghetti-monster/darkhorse.c index 2aa1b7b..2aa3e90 100644 --- a/spaghetti-monster/darkhorse.c +++ b/spaghetti-monster/darkhorse.c @@ -17,7 +17,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define FSM_EMISAR_D4_LAYOUT +#define FSM_EMISAR_D4_DRIVER #define USE_LVP #define USE_THERMAL_REGULATION #define DEFAULT_THERM_CEIL 45 diff --git a/spaghetti-monster/fsm-main.c b/spaghetti-monster/fsm-main.c index ae63126..9505322 100644 --- a/spaghetti-monster/fsm-main.c +++ b/spaghetti-monster/fsm-main.c @@ -89,7 +89,11 @@ int main() { push_state(default_state, 0); // in case any spurious button presses were detected at boot + #ifdef USE_DELAY_MS delay_ms(1); + #else + delay_4ms(1); + #endif empty_event_sequence(); // call recipe's setup diff --git a/spaghetti-monster/momentary.c b/spaghetti-monster/momentary.c index fc26db3..6b049f4 100644 --- a/spaghetti-monster/momentary.c +++ b/spaghetti-monster/momentary.c @@ -19,9 +19,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define FSM_EMISAR_D4_LAYOUT +#define FSM_EMISAR_D4_DRIVER #define USE_LVP #define USE_DEBUG_BLINK +#define USE_DELAY_4MS #include "spaghetti-monster.h" volatile uint8_t brightness; diff --git a/spaghetti-monster/ramping-ui.c b/spaghetti-monster/ramping-ui.c index 2369686..527a824 100644 --- a/spaghetti-monster/ramping-ui.c +++ b/spaghetti-monster/ramping-ui.c @@ -17,7 +17,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#define FSM_EMISAR_D4_LAYOUT +#define FSM_EMISAR_D4_DRIVER #define USE_LVP #define USE_THERMAL_REGULATION #define DEFAULT_THERM_CEIL 32 |
