diff options
| author | Gabriel Hart | 2021-08-29 14:39:15 -0500 |
|---|---|---|
| committer | Gabriel Hart | 2021-08-29 14:39:15 -0500 |
| commit | 59f22692f73a250123f085b792c29e9a32d664a8 (patch) | |
| tree | c2154260d6b11ea4831d0fba14d08b11d3f21f02 /spaghetti-monster/fsm-ramping.h | |
| parent | Add 2C Turbo for BLF Lantern (LT1) (diff) | |
| parent | made it possible to use autolock in simple UI (diff) | |
| download | anduril-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.h | 10 |
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 |
