ToyKeeper / anduril

Anduril 2 Flashlight Firmware and FSM UI Toolkit
GNU General Public License v3.0
199 stars 48 forks source link

New feature: Select previous channel mode with 4C, optionally instead of 4C ramp -> lock #50

Open SiteRelEnby opened 5 months ago

SiteRelEnby commented 5 months ago

Two options. Previous channel is on 4C from ramp mode only and replaces lockout mode from ramp when enabled.

By defining USE_PREVIOUS_CHANNEL it is included as a configurable option under the ramp extras menu (0: 4C -> lock. 1: 4C -> previous channel). By defining both USE_PREVIOUS_CHANNEL and PREVIOUS_CHANNEL_REPLACES_LOCKOUT the lockout shortcut is entirely removed and the runtime config option is not included to save some space.