Force set AFHDS2A subType on NV14
This commit is contained in:
@@ -850,9 +850,11 @@ class ModuleWindow : public FormGroup {
|
|||||||
rfChoice->setFocus(SET_FOCUS_DEFAULT);
|
rfChoice->setFocus(SET_FOCUS_DEFAULT);
|
||||||
});
|
});
|
||||||
#if defined(PCBNV14)
|
#if defined(PCBNV14)
|
||||||
if (moduleIdx == INTERNAL_MODULE)
|
if (moduleIdx == INTERNAL_MODULE) {
|
||||||
|
g_model.moduleData[moduleIdx].subType = FLYSKY_SUBTYPE_AFHDS2A;
|
||||||
rfChoice->setAvailableHandler(
|
rfChoice->setAvailableHandler(
|
||||||
[](int v) { return v == FLYSKY_SUBTYPE_AFHDS2A; });
|
[](int v) { return v == FLYSKY_SUBTYPE_AFHDS2A; });
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
|
|||||||
Reference in New Issue
Block a user