Skip to content

fix(t15): default SF to TOGGLE on T15 and T15 Pro - #7870

Merged
pfeerick merged 1 commit into
EdgeTX:mainfrom
pfeerick:pfeerick/fix-t15-sf-toggle
Oct 5, 2026
Merged

pfeerick merged 1 commit into
EdgeTX:mainfrom
pfeerick:pfeerick/fix-t15-sf-toggle

Conversation

@pfeerick

@pfeerick pfeerick commented Oct 5, 2026

Copy link
Copy Markdown
Member

SF on the Jumper T15 and T15 Pro is a momentary switch, but its default switch type was 2POS. This changes the default to TOGGLE, which is what the T14 already uses for its momentary SF.

  • radio/src/boards/hw_defs/t15.json, t15pro.json: SF default changed from 2POS to TOGGLE.
  • web/public/radios.json: regenerated with web/scripts/gen-radios-json.js.

Effect on existing users: none. Switch defaults are applied before radio.yml is loaded, and every switch's type is always written to radio.yml. Radios that already have settings keep their stored SF type. The new default only applies to a fresh radio.yml, a factory reset, and new radio settings in Companion.

Testing: built T15 and T15 Pro firmware; the generated switch table has SWITCH_TOGGLE for SF. The hw_defs JSON validator passes.

Backport: on 2.12 the defaults live in radio/util/hw_defs/switch_config.py (no committed JSON), so the backport is a hand change to the t15 and t15pro SF entries there instead of a cherry-pick.

The same fix for the T15-H7 has been pushed to #7851 and #7849.

🤖 Generated with Claude Code

SF is a momentary switch on both radios, so it should default to TOGGLE,
not 2POS. Existing radio.yml files keep their stored switch type; only
new or reset radio settings pick up the new default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pfeerick pfeerick added this to the 2.12.5 milestone Oct 5, 2026
@pfeerick pfeerick added bug 🪲 Something isn't working backport/2.12 To be backported to a 2.12 release also. labels Oct 5, 2026
@pfeerick
pfeerick merged commit e8ccf64 into EdgeTX:main Oct 5, 2026
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/2.12 To be backported to a 2.12 release also. bug 🪲 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant