| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
| |
(it actually needs a surprisingly large correction factor)
|
| |
|
|
| |
enabled blink at ceiling for lantern
|
| |
|
|
| |
and eliminated bias toward first PWM channel
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
lighting up the button.
(so they should only be on when the main LEDs are off)
|
| |
|
|
|
|
|
|
|
| |
level based on ramp level.
Made Anduril configure voltage fudge and indicator LED functions based on driver type.
Removed "ticks_spent_awake" thing since it's redundant. EV_tick arg does the same thing in fewer bytes.
Rearranged some clauses in off_state to put events in a more coherent order.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
It was off by one, and caused actual_level to be off by one,
which caused other parts of the code to do weird things...
- end-of-ramp blink would happen repeatedly.
- ramping up went slower (or not at all, with gradual_tick on each tick)
- would sometimes trigger underheating code at moon level,
and then glide up to the minimum regulation floor
|
| |
|
|
|
| |
Decreased gradual adjustment speed again to make thermal regulation less stair-stepped.
|
| |
|
|
|
|
|
|
|
|
|
| |
adjustments less noticeable.
Added set_level_gradually() and gradual_tick() to ramping lib.
Not terribly happy with it yet, but it at least works in practice.
Added extra thermal regulation checks because I was running into stupid behavior in edge cases.
Increased lowest thermal stepdown level to MAX_LEVEL/3 because it was going down way too low before.
(is still pretty low, but not quite as bad)
|
|
|
Added ramping support in general.
|