Skip to content

fix(companion): restore switch positions after simulator startup#7261

Draft
raphaelcoeffic wants to merge 1 commit into2.12from
2.12-fix-7259
Draft

fix(companion): restore switch positions after simulator startup#7261
raphaelcoeffic wants to merge 1 commit into2.12from
2.12-fix-7259

Conversation

@raphaelcoeffic
Copy link
Copy Markdown
Member

boardInit() resets all switch states during simuMain(), which is called by simulatorStart. Moving restoreRadioWidgetsState() from start() to onSimulatorStarted() ensures saved switch positions are applied after the firmware has fully initialized, keeping UI and backend in sync.

Fixes #7259 and #7246

boardInit() resets all switch states during simuMain(), which is called
by simulatorStart. Moving restoreRadioWidgetsState() from start() to
onSimulatorStarted() ensures saved switch positions are applied after
the firmware has fully initialized, keeping UI and backend in sync.

Fixes #7259

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@raphaelcoeffic raphaelcoeffic marked this pull request as draft April 5, 2026 06:39
@msun12000
Copy link
Copy Markdown

I have tested this release of Companion on Windows 11 PC and can confirm it resolves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants