Changes
- Free LP cutoff slider:
auto_haptics_lowpassis now a continuousuint16Hz value (20–400 Hz) instead of a 4-option index. Set any frequency you want. - Dynamic IIR coefficient: computed as
a = 1 - exp(-2π × fc / 48000)— exact, no lookup table. - Config page: slider updated to
min=20 max=400 step=1(CONFIG_SIZE bumped 19 → 20). - Python script: format updated (
Hfor uint16),--auto-haptics-lowpassnow accepts Hz directly.
⚠️ Breaking change
Config struct size changed from 19 → 20 bytes. Previous flash config will be reset to defaults on first boot (validation rejects out-of-range values).