Skip to content

Improve connection#344

Merged
DocMoebiuz merged 2 commits intoMobiFlight:mainfrom
elral:improve_connection
Jan 6, 2025
Merged

Improve connection#344
DocMoebiuz merged 2 commits intoMobiFlight:mainfrom
elral:improve_connection

Conversation

@elral
Copy link
Collaborator

@elral elral commented Nov 25, 2024

Description of changes

From time to time it happens that a board is not recognized from the connector. For now the reason is unclear.

Some times it happens, that a board sends messages from inputs even that they are initialized on their actual status. It might be that these messages are send when the connector expects the board info and therefore these messages are interpreted as info. As they are totally diferent to the board info message, the connector will not recognize this board.

On start up from a board the config gets loaded and status changes of input devices get send afterwords. With this change an additional flag is added that suppress messages from input devices until the config was read from the connector. Hopefully this will fix the connection problems which occur sometimes.

@elral elral requested a review from DocMoebiuz as a code owner November 25, 2024 10:08
@github-actions
Copy link

Board and firmware folder for this pull request:
Mobiflight-Connector.zip

@DocMoebiuz DocMoebiuz merged commit 0d1ea68 into MobiFlight:main Jan 6, 2025
@DocMoebiuz DocMoebiuz added the enhancement New feature or request label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants