| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 contributed by SiteRelEnby)
https://github.com/SiteRelEnby/anduril2/commit/558778e22f7c7a438dcf43e35e784c7e5be049c7
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(BLINK_ONCE_TIME)
|
| |
|
|
|
| |
where the punctuation makes a "buzz" instead of number blinks
|
| | |
|
| | |
|
| |
|
|
| |
down
|
| |
|
|
|
| |
(thermal calibration needs a signed integer, not unsigned)
|
| | |
|
| |
|
|
|
|
|
|
| |
before,
and skip the voltage display after UI actions which didn't change the mode
(like "Off -> 7C" to change aux LED settings)
|
| |
|
|
|
| |
(and a placeholder for the upcoming Noctigon M44)
|
| | |
|
| |
|
|
|
| |
for real-time voltage color display, instead of always using high mode
|
| | |
|
| |
|
|
|
|
| |
... and gave it a smoother ramp
... and the other new functions added recently
|
| |
|
|
|
| |
and set aux "white" as the mode it uses to blink out numbers
|
| |
|
|
|
| |
(1 click per second the display should last)
|
| |
|
|
|
|
|
|
|
| |
battcheck
(the blink function changed the channel, then the config menu saved it,
then the blink function restored it, then the config menu restored it
to the value it saved, which was wrong)
|
| | |
|
| |
|
|
|
|
|
|
|
| |
check, version check)
Press 3C in batt check mode to change the blink channel.
Also fixed TS10 stepped ramp ceiling value.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
also, don't blink at top of linear range
|
| |
|
|
|
|
| |
(also tweaked D4v2 build to match KR4 as much as possible)
(also added Extended Simple UI to Hank's config)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and made 3H+ use mem level instead of lowest moon (this is needed for
making the channel discernible, and also helps make aux LED controls
stand out more)
The 3H mapping allows users to change channels without leaving lockout,
which was possible before with 3H to ramp tint, but doesn't work in new
multi-channel code because it uses 3C instead... and 3C is already used.
So the new 3H does sort of what the old 3H did, but in a way which is more
relevant to the new channel system.
|
| | |
|
| |
|
|
|
| |
(also added generic channel modes for RGB aux LEDs)
|
| |
|
|
| |
post-off period
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
(was easy since it just uses the generic Emisar-2ch build
with a couple small overrides)
|
| | |
|
| |
|
|
|
|
|
|
| |
(to show which channel mode is being edited)
also, avoid setting channel mode again if it's not going to change
(this prevents unnecessary flickering)
|
| |
|
|
|
| |
(oops, it has no "ADC Noise Reduction" mode... needs different setup code)
|
| |
|
|
|
| |
(much easier to see the voltage this way, including post-turbo sag)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(also reduced avg standby power by about 15 uA)
(also fixed oscillating voltage mode colors, I think)
The bug happened because sometimes sleep LVP would get triggered, because the
ADC would read zero under some conditions.
This in turn happened because the ADC needs the MCU to be at least partially
awake in order to finish a measurement. So in standby mode, with the MCU only
waking up very briefly to send a sleep tick and go back to sleep, the ADC
required several cycles (like 375ms to 625ms) to finish a single measurement.
This varied depending on how many instructions the MCU executed while it was
awake. In the single-color mode, so few instructions were being executed that
the ADC seemed to time out and abort its measurement, returning a zero. Then a
low voltage warning was sent, which knocked the light back into "Off" mode.
Adding no-op instructions inside the single-color clause was sufficient to
prevent the ADC from timing out, because it kept the MCU awake just barely long
enough. But it was a kludge, and it still took like half a second to finish a
measurement, and the measurements were noisy. It also used more power, because
it required keeping the ADC powered on far too long.
This fix puts the MCU into "ADC Noise Reduction" mode instead, when a voltage
measurement is needed during sleep. It reduces noise to make measurements more
stable... but more importantly, it lets the measurement finish in like 0.5ms
instead of 500ms. So it uses less power and isn't dependent on the number of
calculations the MCU does during each "sleep tick".
As a bonus, this can also measure voltage much more often, while still using
less total energy than before. It was once every 8 seconds, and now it's once
per second.
Avg power use in aux low mode, on a D4Sv2: (avg of 30k samples each)
- before: 101 uA
- after: 86 uA
|
| |
|
|
|
|
| |
... and reworked how gradual_tick() works
... and updated LT1S Pro to use new method
|
| |
|
|
|
|
| |
patch adapted from SammysHP:
https://github.com/SammysHP/flashlight-firmware/commit/0df174a6f6cc2676703f55a9b86eb3d9b3896b33
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
instead of full GPL headers (or all too often, nothing at all)
There are a few "FIXME" entries where I'm not sure about the correct copyright.
|
| |
|
|
|
| |
(this also made some parts of the code cleaner)
|