In a private conversation with @INeedMoreLumens , we were discussing whether there is a way to deactivate the post-off voltage display feature in recent Anduril versions. This is where RGB AUX LEDs indicate the battery voltage, via the AUX LED colour, for a few seconds after turning a light off before going to the user-set AUX LED mode. This has been confusing and/or annoying many people.
We were also discussing whether the 2 decimal place accuracy battery indication after 3C from OFF could be returned to it’s previous 1 decimal place accuracy.
The results might be interesting for others, so I’m posting them here.
Hope someone finds this useful and apologies if this is already well known.
Post-off Voltage
To deactivate the post-off voltage display by default, add the following to your custom anduril.h
:
#define DEFAULT_POST_OFF_VOLTAGE_SECONDS 0
This doesn’t remove the feature altogether but rather configures it to be off by default. The user can still turn it back on by doing 3C from OFF, 7H second option, n clicks
where n
is the number of seconds for which the voltage should be displayed.
Return battery check accuracy to 1decimal place
To use 1 decimal place accuracy for the 3C
battery check instead of the 2 decimal place accuracy used in some modern lights, add the following to your custom anduril.h
:
#ifdef USE_EXTRA_BATTCHECK_DIGIT
#undef USE_EXTRA_BATTCHECK_DIGIT
#endif