~toykeeper/flashlight-firmware/trunk

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/cfg-emisar-d4.h

  • Committer: Selene Scriven
  • Date: 2020-07-06 20:24:28 UTC
  • mfrom: (188.1.294 fsm)
  • Revision ID: bzr@toykeeper.net-20200706202428-7pyen2ow9q2rtd9p
merged nearly a year of updates from the fsm branch, including the new product map

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#define RAMP_DISCRETE_CEIL RAMP_SMOOTH_CEIL
19
19
#define RAMP_DISCRETE_STEPS 7
20
20
 
21
 
// optional, makes initial turbo step-down faster so first peak isn't as hot
22
 
// the D4 runs very very hot, so be extra careful
23
 
//#define THERM_HARD_TURBO_DROP
24
 
 
25
21
// stop panicking at ~30% power or ~1200 lm
26
22
#define THERM_FASTER_LEVEL 105
27
 
// respond to thermal changes faster
28
 
#define THERMAL_WARNING_SECONDS 3
29
 
#define THERMAL_UPDATE_SPEED 1
30
 
#define THERM_PREDICTION_STRENGTH 4
31
23