From f2d2677b2df3d7939814c2b9b5db8a8403c4eb5d Mon Sep 17 00:00:00 2001 From: 3djc Date: Wed, 3 Aug 2016 16:24:30 +0200 Subject: [PATCH] Add CLI and Mass Storage to horus (#3682) --- companion/src/firmwares/opentx/opentxinterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index e4bc84837..1566252f3 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -1200,6 +1200,8 @@ void registerOpenTxFirmwares() firmware->addOption("noheli", QObject::tr("Disable HELI menu and cyclic mix support")); firmware->addOption("nogvars", QObject::tr("Disable Global variables")); firmware->addOption("lua", QObject::tr("Support for Lua model scripts")); + Option usb_options[] = { { "massstorage", QObject::tr("Instead of Joystick emulation, USB connection is Mass Storage (as in the Bootloader)") }, { "cli", QObject::tr("Instead of Joystick emulation, USB connection is Command Line Interface") }, { NULL } }; + firmware->addOptions(usb_options); /* untested */ //firmware->addOption("multimodule", QObject::tr("Support for the DIY-Multiprotocol-TX-Module")); addOpenTxCommonOptions(firmware);