Add RX OTA flash for frsky X10s & X12s. #3687
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #2147
Summary of changes:
The OTA flash code are basically copied from stdlcd, rewrite UI part based on the new implementation for color screens.
The UI part cost me some time. My finding is to close dialogs & menus programmatically, they needs to be deleteLater() in stack order, from latest widget to older widget. If the order is wrong the UI will crash immediately. After fix the order of deleteLater(), the UI works fine.
I run several tests in my X10s, click no and yes, flash by OTA several times. Seems working well in my device. It should also work in X12s, but I don't have a device to test.
