aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-10Fixed location of an #endifSelene ToyKeeper1-2/+1
2018-09-13ramp tint faster, remember after battery changeSelene ToyKeeper2-4/+15
also, fixed typo while setting default ramp values
2018-09-13fixed tint ramp brightness being off by one level,Selene ToyKeeper1-9/+7
and eliminated bias toward first PWM channel
2018-09-13made tint ramping actually workSelene ToyKeeper1-0/+3
(needed to set_level() again after changing tint) also, made sure ramp ends will go the right direction (may be reduntant though)
2018-09-13oops, forgot to add lantern config fileSelene ToyKeeper1-0/+59
2018-09-13Added tint ramping. Not tested yet. Also added BLF Lantern build target.Selene ToyKeeper4-1/+67
2018-09-07fixed bug: clicking MAX_CLICKS+1 times and holding the final click would ↵Selene ToyKeeper1-4/+8
hang the MCU (also, reduced ROM size)
2018-09-06merged recent updates from Anduril, removed non-Emisar build targetsSelene ToyKeeper2-16/+23
2018-09-06Enabled THERM_HARD_TURBO_DROP on Emisar D4 and FW3A.Selene ToyKeeper5-4/+25
Made sure D1/D1S/D4S aren't affected.
2018-09-06Calibrated ROT66-219b build better.Selene ToyKeeper1-8/+16
The ramp on this thing is weird, and likes to stall at channel boundaries. Also, enabled hard turbo drop, calibrated the level for that, and turned off blinking button to make room.
2018-09-06Don't attempt to regulate back up above hard turbo drop level.Selene ToyKeeper1-0/+1
(avoids sawtooth oscillations while temperature settles)
2018-09-06Adjusted ROT66-219b ramp shape to max out channels at 65, 115, and 150.Selene ToyKeeper1-22/+8
(original ROT66 code used 62/112/150, so this is pretty close)
2018-09-05made aux LED default mode configurable per hardware target,Selene ToyKeeper2-9/+18
and changed the ROT66 default to something more sensible
2018-09-05enable ROT66 aux LED blinking mode because there's enough room nowSelene ToyKeeper1-1/+1
2018-09-05merged recent anduril updates into rampingiosv3 (and vice-versa)Selene ToyKeeper4-39/+77
2018-09-05Fixed bug: stepped ramp sometimes acted weird with specific values.Selene ToyKeeper1-1/+1
2018-09-01Reduced ROM size another 10 bytes by removing redundant call to nearest_level().Selene ToyKeeper1-5/+5
Added some comments to clarify what lowest and highest level mean.
2018-09-01Fixed bug introduced in trunk r211.1.9, where Anduril's goodnight mode ↵Selene ToyKeeper1-2/+6
didn't work sometimes. The problem was that goodnight's EV_enter was executing before battcheck's loop() finished. This meant battcheck's exit code would turn the emitter off right after goodnight's init set it to the desired level.
2018-09-01Reduced moon-during-lockout code size by 10 bytes.Selene ToyKeeper1-4/+3
2018-08-31Added support for the BLF/Lumintop GT Mini.Selene ToyKeeper3-0/+16
(same as the Emisar D1S, but with a lighted button)
2018-08-30First Anduril build for Fireflies ROT66.Selene ToyKeeper3-2/+60
2018-08-23added a stepped ramp calculator for Anduril,Selene ToyKeeper1-0/+51
because people keep asking
2018-08-22Made anduril.c no longer executable.Selene ToyKeeper1-0/+0
2018-08-22Reduced ROM size by making successive nice_delay_ms calls collapse any time ↵Selene ToyKeeper4-14/+20
the user completes an input sequence. All nice delays then get aborted until the next trip through the main() loop. Eliminates the need to wrap nice_delay_ms() calls and handle the exit condition. Also eliminates the risk of getting the UI out of sync with button events.
2018-08-22Rearranged strobe group mode order, fixed party strobe.Selene ToyKeeper1-53/+58
Was broken due to some remaining hardcoded stuff about the mode numbers. Lost the 20 bytes saved earlier, but that was only reduced due to accidentally compiling out the party strobe code.
2018-08-22Replaced hardcoded eeprom index values with auto-calculated enums.Selene ToyKeeper3-46/+73
2018-08-22Reduced ROM size another 20 bytes by moving candle mode to index 0. Made it ↵Selene ToyKeeper1-29/+72
possible to disable all strobe-group modes.
2018-08-22Reduced ROM size back to pre-branch levelsSelene ToyKeeper1-225/+158
(aside from 6 extra bytes to fix interaction between aux LEDs and lockout moon). Fixed typos: lightening, tactial. Replaced new switch/case clauses with if/else clauses, to reduce ROM size. Added -fshort-enums to gcc options to reduce ROM size.
2018-08-22should stop coding for today, undo custom changes not to be commitedThomas Arthofer1-3/+3
2018-08-22New IDE, replace tabs with spaces to match existing codeThomas Arthofer1-236/+236
2018-08-22Also remove FIXME hint for aux-led pattern changeThomas Arthofer1-2/+0
2018-08-22Fix Change-Aux-LED Pattern, Fix Strobe ModesThomas Arthofer1-142/+250
2018-08-18Removed symlinks to fix Windows checkouts. Copies those files from their ↵Selene ToyKeeper17-16/+26
originals on each build instead.
2018-08-06Added more driver types to Anduril.Selene ToyKeeper2-0/+11
2018-08-06Moved RampingIOS V3 code into its own directory.Selene ToyKeeper13-1/+32
2018-08-06Added UI diagram for RampingIOS V3.Selene ToyKeeper2-0/+4113
2018-07-14Added special 219c build. Fixed bug with forgetting memorized brightness ↵Selene ToyKeeper3-1/+15
after changing aux LED mode. (it was actually rebooting after the aux LED change, because it got into an infinite loop of changing state in its leave_state event, which caused a stack overflow... ... so don't change state in a catch-all "else" event handling clause, oops)
2018-07-03Added a momentary + Werner-style UI for FSM, because why not.Selene ToyKeeper7-0/+730
Based on Anduril, but with most of the features removed.
2018-07-01Moved "next aux LED mode" to 7 clicks instead of 14 clicks.Selene ToyKeeper1-11/+7
Shorter, easier, and has sort of an odd symmetry to "next lockout aux LED mode", which is 4 clicks, a pause, and then 3 clicks.
2018-07-01Higher thermal elbow. This light has some decent thermal mass, and the ↵Selene ToyKeeper1-2/+2
curve here is pretty steep and low-biased.
2018-07-01Added hardware profiles and build targets for Emisar D1 and D1S.Selene ToyKeeper3-0/+14
(same as D4, except with lower power-to-mass ratio)
2018-07-01Made it easier to define thermal parameters per driver type.Selene ToyKeeper5-20/+34
Renamed THERM_DOUBLE_SPEED_LEVEL to THERM_FASTER_LEVEL, since it's not really 2X speed, it's 4X or more. This parameter defines approximately how bright the light can be without being considered risky or "turbo". Or the threshold between optimizing for rapid response vs optimizing for no oscillations.
2018-06-30Fixed bug: moon mode flickered a bit in momentary modeSelene ToyKeeper1-10/+8
due to constant MCU clock speed adjustments. (also, reduced code size and made it harder for similar bugs to appear in the future)
2018-06-30Fixed thermal regulation bug, where it used the wrong target to determine ↵Selene ToyKeeper3-3/+34
adjustment speed. Added a THERM_HARD_TURBO_DROP option, but after fixing the previous bug I'm not sure it's really needed. Decreased default temperature ceiling to 45 C (was 50).
2018-06-30Just in case, overheating in muggle mode triggers an immediate drop to the ↵Selene ToyKeeper1-0/+12
floor. Because WTF. This basically can't happen unless someone is doing something very stupid.
2018-06-29Oops, not sure how it even compiled with this typo.Selene ToyKeeper1-1/+1
2018-06-27Ramp down even faster on high modes. Actually save to eeprom after config ↵Selene ToyKeeper1-1/+4
modes.
2018-06-27Made high levels regulate down even faster. Added missing save_config() at ↵Selene ToyKeeper2-13/+14
the end of, um, config modes. Fixed ramp table indentation.
2018-06-27Move driver-specific ramp tables into the driver's config file.Selene ToyKeeper6-42/+98
Added a method to allow driver configs to override default ramp tables.
2018-06-27Fixed return from therm_config state, removed unused eeprom slots, ↵Selene ToyKeeper1-24/+37
reorganized some #defines to be more robust.