Fixes #2461
This commit is contained in:
@@ -165,7 +165,7 @@ int main(int argc, char *argv[])
|
|||||||
eepromFileName = eedir.filePath(eepromFileName.toAscii());
|
eepromFileName = eedir.filePath(eepromFileName.toAscii());
|
||||||
SimulatorFactory *factory = getSimulatorFactory(firmwareId);
|
SimulatorFactory *factory = getSimulatorFactory(firmwareId);
|
||||||
if (factory->type() == BOARD_TARANIS)
|
if (factory->type() == BOARD_TARANIS)
|
||||||
dialog = new SimulatorDialogTaranis(NULL, factory->create());
|
dialog = new SimulatorDialogTaranis(NULL, factory->create(), SIMULATOR_FLAGS_S1|SIMULATOR_FLAGS_S2);
|
||||||
else
|
else
|
||||||
dialog = new SimulatorDialog9X(NULL, factory->create());
|
dialog = new SimulatorDialog9X(NULL, factory->create());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user