diff --git a/companion/src/simulator.cpp b/companion/src/simulator.cpp index 4758dd252..af20e882f 100644 --- a/companion/src/simulator.cpp +++ b/companion/src/simulator.cpp @@ -115,6 +115,7 @@ int main(int argc, char *argv[]) QAbstractButton *taranisButton = msgBox.addButton("Taranis", QMessageBox::ActionRole); QAbstractButton *sky9xButton = msgBox.addButton("9X-Sky9X", QMessageBox::ActionRole); QAbstractButton *gruvinButton = msgBox.addButton("9X-Gruvin9X", QMessageBox::ActionRole); + QAbstractButton *proButton = msgBox.addButton("9XR-Pro", QMessageBox::ActionRole); msgBox.addButton("9X-M128", QMessageBox::ActionRole); QPushButton *exitButton = msgBox.addButton(QMessageBox::Close); @@ -149,6 +150,13 @@ int main(int argc, char *argv[]) eepromFileName = path.data(); dialog = new SimulatorDialog9X(); } + else if (msgBox.clickedButton() == proButton) { + current_firmware_variant = GetFirmware("opentx-9xrpro-heli-templates-ppmca-gvars-symlimits-autosource-autoswitch-battgraph-en"); + fileName = eedir.filePath("eeprom-9xrpro.bin"); + path = fileName.toAscii(); + eepromFileName = path.data(); + dialog = new SimulatorDialog9X(); + } else { current_firmware_variant = GetFirmware("opentx-9x128-frsky-heli-templates-audio-voice-haptic-DSM2-ppmca-gvars-symlimits-autosource-autoswitch-battgraph-thrtrace-en"); fileName = eedir.filePath("eeprom-9x128.bin");