fix(AFHDS3): Sync UI with Flysky AFHDS3 module stored settings (#3501)
* Refresh UI module settings when AHFDS3 config is updated. * Fix scroll order for module options when 'FlySky' module type selected. Fix simulator crash issues related to FlySky module. * Fixed UI refresh problems in UI widget ordering fix. * Refresh config when receiver is connected. * Disable change of bind time options when receiver is connected. * Rename methods to better distinguish between buffer fill or actual send. * Clean and tidy up AFHDS3 state flow. * Implemented settings sync upon setting changes. * Added RF power settings for IRM301/FRM303. * Added RF power sensors for FRM303. * Fixed config not saved and only FRM303 supports RF power settings. * Fixed RF power command error. * Fixed a crash for IRM301. * Always check if port exists and return nullptr for driver. * fix: Make Companion preserve settings *as is* --------- Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
Phil Mitchell
Peter Feerick
parent
bdb78ba2ef
commit
cb533f4493
@@ -87,6 +87,17 @@ enum R9MLBTPowerValues {
|
||||
R9M_LBT_POWER_MAX = R9M_LBT_POWER_500_16CH_NOTELEM
|
||||
};
|
||||
|
||||
enum AFHDS3PowerValues {
|
||||
AFHDS3_POWER_25 = 0,
|
||||
AFHDS3_POWER_50,
|
||||
AFHDS3_POWER_100,
|
||||
AFHDS3_POWER_250,
|
||||
AFHDS3_POWER_500,
|
||||
AFHDS3_POWER_1000,
|
||||
AFHDS3_POWER_2000,
|
||||
AFHDS3_FRM303_POWER_MAX = AFHDS3_POWER_2000,
|
||||
};
|
||||
|
||||
enum AntennaTypes {
|
||||
XJT_INTERNAL_ANTENNA = 0,
|
||||
XJT_EXTERNAL_ANTENNA
|
||||
|
||||
Reference in New Issue
Block a user