aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-ramping.h
diff options
context:
space:
mode:
authorGabriel Hart2021-08-29 14:39:15 -0500
committerGabriel Hart2021-08-29 14:39:15 -0500
commit59f22692f73a250123f085b792c29e9a32d664a8 (patch)
treec2154260d6b11ea4831d0fba14d08b11d3f21f02 /spaghetti-monster/fsm-ramping.h
parentAdd 2C Turbo for BLF Lantern (LT1) (diff)
parentmade it possible to use autolock in simple UI (diff)
downloadanduril-59f22692f73a250123f085b792c29e9a32d664a8.tar.gz
anduril-59f22692f73a250123f085b792c29e9a32d664a8.tar.bz2
anduril-59f22692f73a250123f085b792c29e9a32d664a8.zip
Merge TK's changes thru her rev 618 including autolock in Simple UI and jump start updates
Diffstat (limited to 'spaghetti-monster/fsm-ramping.h')
-rw-r--r--spaghetti-monster/fsm-ramping.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-ramping.h b/spaghetti-monster/fsm-ramping.h
index d1ef6bc..7a4fa3b 100644
--- a/spaghetti-monster/fsm-ramping.h
+++ b/spaghetti-monster/fsm-ramping.h
@@ -82,6 +82,16 @@ PROGMEM const PWM_DATATYPE pwm4_levels[] = { PWM4_LEVELS };
PROGMEM const PWM_DATATYPE pwm_tops[] = { PWM_TOPS };
#endif
+#ifdef USE_JUMP_START
+#ifndef JUMP_START_TIME
+#define JUMP_START_TIME 8 // in ms, should be 4, 8, or 12
+#endif
+#ifndef DEFAULT_JUMP_START_LEVEL
+#define DEFAULT_JUMP_START_LEVEL 10
+#endif
+uint8_t jump_start_level = DEFAULT_JUMP_START_LEVEL;
+#endif
+
// default / example ramps
#ifndef PWM1_LEVELS
#if PWM_CHANNELS == 1