Is this the proper place for making feature requests? If so, I’ve got one:
I spent some time poking around the codebase and found something that I didn’t know was there, something I’ve been looking for. In the setups.h file, if you comment out the STARTUP_LIGHT_OFF and STARTUP_2BLINKS variables and build it, the driver will come on max output at power up. That’s a much better operational style for two-switch lights, like the L6. Hit the tail switch and actually get light out! Love it!
Here’s what I want — when I hit that mechanical switch I want it to come on in turbo (like it already does), but if I’m holding down the e-switch I want it to come on in moonlight. (Yes I stole that idea from EagleTac). Looking at the code I thought that would be easy. I tried adding a simple if(isPressed()) check to the STARTUP_LIGHT_OFF codeblock just inside the main method, but that didn’t work for some reason. I also tried adding that check several other places, like after the watchdog timer is started. No work. The only place I actually got it to work is inside the main while loop, but right there of course it basically overrides everything and then I just have a two-mode light - not what I’m after.
I’ll spend some more time poking around, maybe I’m missing something obvious, but just in case some of you smarter people have time and want to tackle it, I’m putting it out here. Thanks all!