Added support for Lemon-Rx DSMP
This commit is contained in:
committed by
Raphael Coeffic
parent
f09c10b49d
commit
9d5cd1876c
@@ -622,7 +622,7 @@ class ModuleWindow : public FormGroup {
|
||||
[=](int newValue) {
|
||||
g_model.moduleData[moduleIdx].crsf.telemetryBaudrate = CROSSFIRE_INDEX_TO_STORE(newValue);
|
||||
SET_DIRTY();
|
||||
restartExternalModule();
|
||||
restartModule(moduleIdx);
|
||||
});
|
||||
}
|
||||
if (isModuleCrossfire(moduleIdx)) {
|
||||
@@ -1089,6 +1089,7 @@ class ModuleWindow : public FormGroup {
|
||||
#if defined(AFHDS2)
|
||||
if (isModuleFlySky(moduleIdx)) resetPulsesAFHDS2();
|
||||
#endif
|
||||
if (isModuleDSMP(moduleIdx)) restartModule(moduleIdx);
|
||||
return 0;
|
||||
} else {
|
||||
if (isModuleR9MNonAccess(moduleIdx) || isModuleD16(moduleIdx) ||
|
||||
|
||||
@@ -293,7 +293,7 @@ class InternalModuleWindow : public FormGroup {
|
||||
[=](int newValue) {
|
||||
g_eeGeneral.internalModuleBaudrate = CROSSFIRE_INDEX_TO_STORE(newValue);
|
||||
SET_DIRTY();
|
||||
restartInternalModule();
|
||||
restartModule(INTERNAL_MODULE);
|
||||
});
|
||||
grid.nextLine();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user