| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Adds two entries to the battery voltage settings menu, the first
isathreshold for switching aux to high, and the second sets a minimum
level for it to be displayed, also effectively allowing the feature to
be entirely disabled if not wanted.
|
| |
|
|
|
| |
Based on [SammysHP's patch](https://github.com/ToyKeeper/anduril/pull/18),
but only for lockout mode, not tactical.
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
github.com:SiteRelEnby/anduril into pr46-SiteRelEnby-bugfix-tacmode-without-momentary
* 'bugfix-tacmode-without-momentary' of github.com:SiteRelEnby/anduril:
Bugfix: Tactical mode has a dependency on momentary mode
|
| | |
| |
| |
| |
| |
| |
| | |
Use case 1: Updating a t85 light, where tactical mode is useful but
takes some squeezing, and momentary is less useful
Use case 2: Custom builds for people who don't like/want momentary mode
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
pr49-SiteRelEnby-tactical-mode-3c-fix
* 'tactical-mode-3c-fix' of github.com:SiteRelEnby/anduril:
Bugfix: Prevent switching channel modes when in tactical mode
|
| | |/
| |
| |
| | |
Fixes issue https://github.com/ToyKeeper/anduril/issues/40
|
| |/
|
|
| |
(so 0 to 255 now goes from 0.00V to 5.10V)
|
| |
|
|
|
| |
This helps when using a regulator which doesn't like being turned off
and back on quickly.
|
| | |
|
| |
|
|
|
|
|
| |
- set DEFAULT_BIKING_LEVEL in bike mode's header file
- use RAMP_SIZE/3 by default
- limit to MAX_BIKING_LEVEL if necessary
- get rid of any ties to MAX_1x7135 because it's kind of an obsolete symbol
|
| |\
| |
| |
| |
| |
| |
| | |
pr23-digitalcircuit-fix-nofet-bikeflash
* 'fix-nofet-bikeflash' of github.com:digitalcircuit/anduril:
bikeflash: Cap default brightness to max, define
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cap fallback default bike flasher brightness to stay below
MAX_BIKING_LEVEL, fixing noFET/boost driver builds where MAX_1x7135 is
above MAX_BIKING_LEVEL.
Add the optional define DEFAULT_BIKING_LEVEL to set the default bike
flasher brightness. This is NOT checked against MAX_BIKING_LEVEL, for
simplicity.
Alternatively, strobe-modes.c could be updated to check if the value
exceeds MAX_BIKING_LEVEL at runtime. However, that might take up more
flash space.
Migrated from https://code.launchpad.net/~digitalcircuit/flashlight-firmware/anduril2_fix_nofet_bikeflash/+merge/408124
|
| | |
| |
| |
| |
| |
| |
| | |
1/3rd of the ramp size is probably a more reliable default
than MAX_1x7135. The 7135-based reference points need to eventually
be removed entirely and replaced by something more universal,
but for now at least don't fail when a thermal stepdown isn't defined.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
internal volt unit
Before this branch, `voltage` was 6 bits: Volts * 10
A couple patches ago, I upgraded it to 16 bits: 65535 * Volts / 10.24
That costs too much extra ROM on attiny85 though, for extra precision
it doesn't even use... so I switched back to an 8-bit value. It's still
more precise than before though: Volts * 40
... and battcheck displays an extra digit now, on devices with ROM for it.
... and battcheck waits a second to get a more accurate measurement
before displaying the first value. It has *much* less variation
between first and later readings now.
Also:
- got t1616 builds working again (tested fc13 and thefreeman-boost-fwaa)
- upgraded t1616 voltage and temp to 12-bit (10 bits + 4x oversampling)
- removed expensive temp conversion from t1616 ADC interrupt
- recalibrated t1616 bogomips again; runs faster after interrupt fix
- increased t1616 internal VDD measurement resolution by 36% (1.5V Vref, not 1.1V)
- fixed sloppy setting of Vref bits
I still need to test / update other t1616 builds,
and fix all the t85 + t1634 code and build targets.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The gradual tick frequency was written for 8-bit PWM,
but it can be too slow on hardware with more bits.
The hwdef can compensate by using larger steps,
but that makes adjustments more visible...
So this provides an option to increase speed without visibility.
|
| | | |
|
| |/
|
|
| |
Phew, that's a lot of changes! And there's still a lot more to do...
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
pr-16-SammysHP-momentary-turbo
* 'momentary-turbo' of github.com:SammysHP/anduril:
Allow turbo in momentary mode
|
| | | |
|
| |/ |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
johnou-bugfix/no-simple-ui-error
* 'bugfix/no-simple-ui-error' of github.com:johnou/anduril:
Fix compile error when Simple UI is undefined.
|
| | | |
|
| | |
| |
| |
| | |
(previous commit still failed)
|
| |/ |
|
| |
|
|
|
|
|
|
| |
- fleshed out main README.md a bit
- improved github formatting for docs/which-hex-file.md
- added 'make docs' to preview .md files as .html
- ignore html files generated by 'make docs'
- removed rampingios-v3.html file generated years ago
|
| | |
|
| |
|
|
| |
(also modified the build scripts to work with the new file structure)
|
|
|
(just moved files, didn't change the contents yet,
and nothing will work without updating #includes and build scripts and stuff)
|