aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-05moved Simple UI actions from 8C/8H -> 10C/10H... and removed ↵Selene ToyKeeper11-36/+4
USE_TENCLICK_THERMAL_CONFIG (the tenclick thermal thing isn't relevant ever since factory reset was added)
2020-08-05re-enabled voltage correction on D18 and ROT66G2, because it fits nowSelene ToyKeeper2-19/+1
(but removed aux LED support from D18, because the stock version has none)
2020-08-05organized config defaults, added some ramp options to default configSelene ToyKeeper3-18/+39
2020-08-05made lockout momentary always use lowest first, and use manual mem level on ↵Selene ToyKeeper2-18/+13
second click if enabled
2020-08-05added support for 1-step ramps in stepped ramp modeSelene ToyKeeper1-4/+11
(uses the midpoint between floor and ceiling)
2020-08-05made a couple actions use blink_once() instead of blip(), for better consistencySelene ToyKeeper2-3/+3
2020-08-05reduced rom 34 bytes by merging ramp-up code with ramp-down codeSelene ToyKeeper2-79/+10
(also removed USE_REVERSING option)
2020-08-05reduced ROM 10 bytes by cleaning up blink_confirm() callsSelene ToyKeeper6-19/+21
2020-08-01fixed bug: main LEDs stayed on while setting aux LED color in lockout modeSelene ToyKeeper1-1/+1
2020-07-31removed cfg-*.THIS, added by accident a while ago... oopsSelene ToyKeeper2-118/+0
2020-07-313 build targets were too big... fixed by turning off voltage calibration ↵Selene ToyKeeper3-1/+10
mode on those.
2020-07-31Block the auto-lock function in Simple UI.Selene ToyKeeper1-3/+9
2020-07-31Block the sunset timer in Simple UI.Selene ToyKeeper1-0/+5
2020-07-31made Emisar D18 build fit in ROM again (it was 6 bytes over; now it's 8 ↵Selene ToyKeeper1-1/+1
bytes under)
2020-07-31made simple UI's ramp configurable, and fixed bug where it wouldn't remember ↵Selene ToyKeeper3-8/+23
if simple UI was enabled
2020-07-31added a voltage calibration / correction function, 7C from battcheck to ↵Selene ToyKeeper7-2/+64
configure
2020-07-31fixed bug: sunset timer didn't adjust MCU clock speed at low levels,Selene ToyKeeper2-3/+6
so the moon level was way too dim and used too much power also fixed some sunset timer comments
2020-07-31added auto-lock function, mostly contributed by SammysHPSelene ToyKeeper9-5/+104
(5C in lockout mode to configure it, 5H to turn it off, similar to UI for manual memory)
2020-07-30made ramping "bump" the sunset timer up a little if it's near the deadlineSelene ToyKeeper2-3/+11
2020-07-30fixed bug: 4H from lockout to ramp would immediately activate the sunset timerSelene ToyKeeper1-0/+3
2020-07-30fixed bug: ramp mode acted strange if ramp level was changed after turning ↵Selene ToyKeeper1-0/+13
on sunset timer (it kept trying to adjust based on the original brightness, instead of the new brightness)
2020-07-30fixed bug where light would shut itself off immediately if sunset timer was ↵Selene ToyKeeper1-0/+7
aborted and then light was turned back on (turn light on, enable sunset timer, turn light off, turn light back on... it would then turn itself off immediately, but it shouldn't)
2020-07-30moved sunset bump from 3C to 4H, fixed candle sunset behavior (was ↵Selene ToyKeeper2-25/+28
overflowing / wrapping around)
2020-07-30replaced "goodnight / sunset mode" with sunset timer, which works in both ↵Selene ToyKeeper8-130/+155
candle mode and regular ramp mode (not finished, but wanted to check in the code before continuing) (still needs the button mappings adjusted to avoid collision with 3C for change-ramp-style)
2020-07-30reduced ROM another 12+6 bytes with more non-volatile varsSelene ToyKeeper2-3/+3
(because they don't need to be volatile any more)
2020-07-29reduced ROM size 56 bytes by making actual_level non-volatileSelene ToyKeeper1-1/+1
(seems unnecessary now; doesn't change in the middle of an event handler any more)
2020-07-29reduced ROM 42 bytes by making "emissions" non-volatileSelene ToyKeeper1-1/+3
(doesn't seem to be needed any more, ever since the IRQ rewrite a few months ago)
2020-07-28reduced ROM size slightly by making strobe vars non-volatileSelene ToyKeeper4-10/+8
(they didn't need to be; it was just wasting bytes)
2020-07-28s/DEFAULT_SIMPLE_UI/SIMPLE_UI/ in a file I forgot to update earlierSelene ToyKeeper1-12/+12
2020-07-28reorganized some code to make it cleaner...Selene ToyKeeper3-72/+99
- moved FF strobe loop() logic to an inline function in ff-strobe-modes file - changed function order in anduril.c to put setup+loop first - put common/default case first in setup() - added support for tint ramping on dual-switch lights with power clicky (even though no such lights exist yet) - comment gardening
2020-07-28moved candle mode to its own file, since it's kinda bigSelene ToyKeeper4-138/+194
2020-07-28renamed strobes.* to strobe-modes.*Selene ToyKeeper6-22/+22
2020-07-28moved aux LED code into its own fileSelene ToyKeeper3-238/+290
2020-07-22renamed off-state.* -> off-mode.*Selene ToyKeeper3-10/+10
2020-07-22renamed ramping.* -> ramp-mode.*Selene ToyKeeper4-14/+20
2020-07-22renamed lockout.* -> lockout-mode.*, moved user-configurable lockout options ↵Selene ToyKeeper4-13/+15
to config-default.h
2020-07-22added "make todo" to remind me about stuff I still need to finishSelene ToyKeeper1-1/+4
2020-07-22renamed beacon.* -> beacon-mode.*Selene ToyKeeper3-10/+10
2020-07-22renamed cfg-default.h to config-default.h, cleaned up some comments, ↵Selene ToyKeeper2-31/+51
organized definitions
2020-07-22more progress on refactoring Anduril into separate files... nearly done with ↵Selene ToyKeeper30-1357/+2016
the initial split
2020-07-21started refactoring anduril into individual files...Selene ToyKeeper19-1028/+1548
... messy and very incomplete, but it's a start, and at least it still compiles. (the overall structure is ... weird. mostly because of compiling the entire program plus libraries in a single step, as a single file, to make -fwhole-program work)
2020-07-14merged Emisar D4v2.5 build targets with Noctigon KR4 build targetsSelene ToyKeeper5-133/+19
(because they're close enough that they can use the same code)
2020-07-12removed beacon config mode... replaced "click N times" with "hold for N ↵Selene ToyKeeper1-28/+26
seconds" to configure it
2020-07-12fixed bug: button release events were sending 0 as the arg instead of the ↵Selene ToyKeeper1-10/+9
number of ticks the button was held (bug had no effect in any current UIs, but I needed it fixed for a feature I want to add)
2020-07-12moved all config modes and aux LED config actions to 7C / 7HSelene ToyKeeper1-19/+22
2020-07-12allowed simple UI to use stepped ramp, reduced size,Selene ToyKeeper1-63/+81
fixed wrong initial brightness on boot or after changing UI style, started making simple UI ramp configurable, made floor/ceil/steps for smooth/stepped/simple use arrays instead of individual vars, generally refactored a bit of ramp-related code
2020-07-12added lockout 4C -> on, lockout 4H -> floor, and strobe 5C -> momentarySelene ToyKeeper1-2/+16
2020-07-12cleaned up s/ceiling/ceil/ and s/muggle_/simple_ui_/ in config filesSelene ToyKeeper23-77/+77
2020-07-12limited simple UI floor and ceiling to muggle mode levels,Selene ToyKeeper1-52/+70
moved floor/ceiling calculations (mostly) to use only "ramp_floor" and "ramp_ceil" which update based on current mode, s/simple_mode/simple_ui/, made "ceil" vs "ceiling" more consistent
2020-07-12removed muggle mode, replaced it with simple mode (first pass, incomplete)Selene ToyKeeper1-252/+136