| Commit message (Collapse) | Author | Files | Lines |
|
(just moved files, didn't change the contents yet,
and nothing will work without updating #includes and build scripts and stuff)
|
|
when smooth_steps was enabled
|
|
- Off -> 1H
- Off -> 2H and release
- Off -> 2C
- Off -> 3C or more
- Ramp -> 2C (in smooth ramp mode)
... also reduced ROM size a bit.
Now it does smooth animations for 2C turbo, regardless of the current ramp
mode. Before, in smooth ramp mode, 2C turbo did a hard step. Hard steps were
also eliminated for 1H from Off, momentary turbo from Off, regular turbo from
Off, and anything longer than 2C from Off.
|
|
(it would jump up the last few levels before, instead of being smooth)
|
|
(also made ramp extras config menu count its own steps)
|
|
and fixed issue in tactical mode where strobes wouldn't stop on button release
|
|
because J.K. Rowling is the figurehead of a hate group
and I don't want to condone that in any way.
I liked a 2-word phrase she wrote once, "mischief managed", but that was
decades ago... and now she is the face of a transphobic movement known as
TERFs. She turned out to be a pretty terrible person who uses her massive
wealth and influence to spread hate and oppress people.
To be clear:
Trans rights are human rights.
... and anyone who has a problem with that has no place in this project.
Patch suggested by SiteRelEnby, and TBH it's embarrassing that I didn't remove
the phrase sooner. It seemed fun and innocent in 2017 when this project
started, but ... things changed.
https://github.com/SiteRelEnby/anduril2/commit/a1cee423b4e0e16909a90d5c3e6a7b70df30d755
|
|
patch adapted from SammysHP:
https://github.com/SammysHP/flashlight-firmware/commit/0df174a6f6cc2676703f55a9b86eb3d9b3896b33
|
|
|
|
(this also made some parts of the code cleaner)
|
|
https://github.com/SammysHP/flashlight-firmware/tree/smooth-sunset
https://github.com/SammysHP/flashlight-firmware/compare/anduril2...smooth-sunset
(also shortened file headers, as long as I was touching those files)
|
|
with the new channel mode system ... but there's a lot more left to do
|
|
(it was going to ceiling instead of full power)
(also had to disable battcheck calibration on some large builds to make room)
|
|
|
|
(Off->9H option 1, 0=smooth, 1=toggle)
|
|
because it was too fast
|
|
also made it possible to block turbo in Advanced UI
(each one has a 2C style:
0 = no turbo, only ceiling
1 = Anduril 1 style, direct to turbo
2 = Anduril 2 style, ceiling unless already there, then turbo
)
|
|
(also, adding this reduced the ROM size somehow)
|
|
(2C while on goes to full-power turbo (A1) or ceiling (A2))
also renamed _OPTION defs to _CONFIG for consistency
|
|
(default) or stay at floor
|
|
|
|
special clauses
(also adjusted KR4 jump start levels a bit)
|
|
places
|
|
|
|
(compiles now, but isn't tested on hardware)
|
|
|
|
|
|
- moved MODELS to BRANDS
- added MODELS file generated from "make models"
- added version check info to manual
- clarified how memory options work
- fixed docs for auto-lock feature
- small code comment clarifications
|
|
|
|
(also reduced ROM size by 126 bytes)
|
|
|
|
Makes "Ramp 2C" behave like Anduril1 instead of Anduril2.
So it goes to full power turbo in the advanced UI, or ceiling in the simple UI.
Otherwise, default Anduril2 behavior is for "Ramp 2C" to go to/from the ceiling
level... unless already ramped up to that level in advanced mode, in which case
it'll go to full turbo.
|
|
Hybrid memory is a combination of automatic and manual, depending
on how long the light was off. If it was a short time, automatic
mem is used. For a longer time, it resets to the manual memory level.
Also tweaked some of the larger build targets again to make sure
they fit in ROM.
|
|
(thanks to SammysHP for suggesting this fix)
|
|
|
|
changed "Full UI Ramp 2C" to "ceil or turbo, based on whether already ramped up or not"
|
|
- moved all battcheck to 3C
- moved all lockout to 4C
- moved all unlock to 4C/4H
- moved manual mem from 4C/4H to 10C/10H
- moved auto-lock from 5C/5H to 10C/10H
- added ramp 4C -> lockout
- added ramp 5C -> momentary
- added lockout 5C -> ramp ceiling
|
|
- swapped lockout and battcheck
- 3C/3H to exit lockout instead of 4C/4H
- 4C/4H for manual mem instead of 5C/5H
- 5C from ramp to momentary
- 5H for sunset timer instead of 4H
Also added tint ramping info to the manual.
|
|
(uses the midpoint between floor and ceiling)
|
|
|
|
(also removed USE_REVERSING option)
|
|
if simple UI was enabled
|
|
on sunset timer
(it kept trying to adjust based on the original brightness, instead of the new brightness)
|
|
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)
|
|
|
|
the initial split
|