lp://staging/~digitalcircuit/flashlight-firmware/anduril2_opt_ramp_low_slower
- Get this branch:
- bzr branch lp://staging/~digitalcircuit/flashlight-firmware/anduril2_opt_ramp_low_slower
Branch merges
- Selene ToyKeeper: Pending requested
-
Diff: 46 lines (+24/-1)2 files modifiedToyKeeper/spaghetti-monster/anduril/ramp-mode.c (+10/-1)
ToyKeeper/spaghetti-monster/anduril/ramp-mode.h (+14/-0)
Branch information
Recent revisions
- 595. By Shane Synan
-
slower ramp with RAMP_SMOOTH_
HALF/QUARTERSPE ED_LEVEL Added two new #define options to further slow down ramping speed near
floor, RAMP_SMOOTH_HALFSPEED_ LEVEL and RAMP_SMOOTH_ QUARTERSPEED_ LEVEL. If neither are set, no change to ramping.
If either are set, when ramp is at/below HALF or QUARTER level, smooth
ramping speed is slowed down by a half or fourth, respectively. This
may make it easier to manage low moonlight levels on drivers with
limited precision near moonlight.NOTE: PWM#_LEVELS should still be non-linear and determined via
level_calc.py! This should only be used when there's no possible
additional precision to have in near-moonlight levels. - 594. By Selene Scriven <email address hidden>
-
rewrote hybrid memory (manual memory timer) to eliminate corner cases
Old method:
- at 1-click power-on, choose a brightness based on off-time
(manual level or last-ramped level)New method:
- when off longer than the timer, set last-ramped level to manual levelThis fixes a bug:
- turn light off
- wait for timer
- turn light on with a shortcut to moon
- turn light off
- turn light on
- pre-patch, light went to last-ramped level instead of manual levelThis change also reduces the ROM size slightly.
- 593. By Selene Scriven <email address hidden>
-
added Emisar D18 Nichia 219 build target (same as normal but reduced FET power)
- 592. By Selene Scriven <email address hidden>
-
set Emisar/Noctigon "219" builds to 65% FET power
(was 75% or 80% before)
(change requested by Emisar) - 591. By Selene Scriven <email address hidden>
-
added missing ifdefs for compiling without USE_SIMPLE_UI
(compiles now, but isn't tested on hardware) - 590. By Selene Scriven <email address hidden>
-
oops, somehow I forgot to add this earlier... Hank's UI preferences (applies to all Emisar / Noctigon lights)
- 589. By Selene Scriven <email address hidden>
-
made manual memory remember tint too, not just brightness
- 588. By Selene Scriven <email address hidden>
-
aux LED config cleaning...
- use fancy blinking mode by default
(define USE_OLD_BLINKING_ INDICATOR if old slow mode is wanted) - remove TICK_DURING_STANDBY from all cfg-*.h files because it's
enabled automatically by other features anyway (autolock, memory timer)- remove STANDBY_TICK_SPEED from cfg-*.h because all the values
matched the default anyway so it was redundant- set rot66 button LED to high+blinking instead of high+off
(it was only "off" because it ran out of space, and that was resolved)- enabled fancier indicator by default on fireflies-ui and rampingiosv3,
since its other #define clauses were removed
(not sure if those older UIs still compile, but if so, it's worth
at least trying not to break it) - 587. By Selene Scriven <email address hidden>
-
config updates for Hank (Emisar / Noctigon):
- use cycling rainbow mode by default on lights with RGB LEDs
(instead of voltage, because it's better for impressing new users)
- use 2C turbo instead of 2C ceiling (Anduril 1 style instead of Anduril 2 style)also some other minor housekeeping...
- make all K1 models use consistent rainbow cycling speed
- enable auto-lock and manual memory timer on Emisar D1v2
- remove redundant RGB config on Lume1 (it had incorrect comments anyway)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/flashlight-firmware