Fixes #2870
0
companion/src/converteeprom.cpp
Executable file → Normal file
0
companion/src/converteeprom.h
Executable file → Normal file
0
companion/src/firmwareinterface.cpp
Executable file → Normal file
0
companion/src/firmwareinterface.h
Executable file → Normal file
|
@ -728,7 +728,7 @@ int OpenTxFirmware::getCapability(const Capability capability)
|
||||||
case HasFailsafe:
|
case HasFailsafe:
|
||||||
return (IS_ARM(board) ? 32 : 0);
|
return (IS_ARM(board) ? 32 : 0);
|
||||||
case NumModules:
|
case NumModules:
|
||||||
return (IS_ARM(board) && !IS_9XRPRO(board)) ? 2 : 1;
|
return (IS_ARM(board) ? 2 : 1);
|
||||||
case HasPPMStart:
|
case HasPPMStart:
|
||||||
return (IS_ARM(board) ? true : false);
|
return (IS_ARM(board) ? true : false);
|
||||||
case HastxCurrentCalibration:
|
case HastxCurrentCalibration:
|
||||||
|
|
0
companion/src/flasheepromdialog.cpp
Executable file → Normal file
0
companion/src/flasheepromdialog.h
Executable file → Normal file
0
companion/src/flasheepromdialog.ui
Executable file → Normal file
0
companion/src/flashfirmwaredialog.cpp
Executable file → Normal file
0
companion/src/flashfirmwaredialog.h
Executable file → Normal file
0
companion/src/flashfirmwaredialog.ui
Executable file → Normal file
0
companion/src/helpers_html.cpp
Executable file → Normal file
0
companion/src/helpers_html.h
Executable file → Normal file
0
companion/src/images/originals/scripts/addblackoutline.sh
Executable file → Normal file
0
companion/src/images/originals/scripts/makeblue.sh
Executable file → Normal file
0
companion/src/images/originals/scripts/makewhite.sh
Executable file → Normal file
0
companion/src/process_copy.cpp
Executable file → Normal file
0
companion/src/process_copy.h
Executable file → Normal file
0
companion/src/process_flash.cpp
Executable file → Normal file
0
companion/src/process_flash.h
Executable file → Normal file
0
companion/src/process_sync.cpp
Executable file → Normal file
0
companion/src/process_sync.h
Executable file → Normal file
0
companion/src/progressdialog.cpp
Executable file → Normal file
0
companion/src/progressdialog.h
Executable file → Normal file
0
companion/src/progressdialog.ui
Executable file → Normal file
0
companion/src/progresswidget.cpp
Executable file → Normal file
0
companion/src/progresswidget.h
Executable file → Normal file
0
companion/src/progresswidget.ui
Executable file → Normal file
0
companion/src/radiointerface.cpp
Executable file → Normal file
0
companion/src/radiointerface.h
Executable file → Normal file
0
companion/src/releasenotesdialog.cpp
Executable file → Normal file
0
companion/src/releasenotesdialog.h
Executable file → Normal file
0
companion/src/releasenotesfirmwaredialog.cpp
Executable file → Normal file
0
companion/src/releasenotesfirmwaredialog.h
Executable file → Normal file
0
companion/src/shared/autolineedit.h
Executable file → Normal file
0
companion/src/translations/companion_es.ts
Executable file → Normal file
0
companion/targets/windows/simulator-vs.nsi.in
Executable file → Normal file
0
doc/lua-reference-guide.tex
Executable file → Normal file
0
radio/src/bitmaps/9X/about.png
Executable file → Normal file
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 212 B |
0
radio/src/bitmaps/9X/asterisk.xbm
Executable file → Normal file
0
radio/src/bitmaps/9X/splash.xbm
Executable file → Normal file
0
radio/src/bitmaps/Taranis/.gitignore
vendored
Executable file → Normal file
0
radio/src/bitmaps/Taranis/about.png
Executable file → Normal file
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 740 B |
0
radio/src/bitmaps/Taranis/asterisk.png
Executable file → Normal file
Before Width: | Height: | Size: 583 B After Width: | Height: | Size: 583 B |
0
radio/src/bitmaps/Taranis/icons.png
Executable file → Normal file
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 502 B |
0
radio/src/bitmaps/Taranis/lock.png
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
radio/src/bitmaps/Taranis/shutdown.png
Executable file → Normal file
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
0
radio/src/bitmaps/Taranis/sleep.png
Executable file → Normal file
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
0
radio/src/bitmaps/Taranis/splash.png
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
radio/src/bitmaps/sticks.xbm
Executable file → Normal file
0
radio/src/gui/9X/gui.h
Executable file → Normal file
0
radio/src/gui/9X/helpers.cpp
Executable file → Normal file
0
radio/src/gui/9X/lcd.cpp
Executable file → Normal file
0
radio/src/gui/9X/lcd.h
Executable file → Normal file
0
radio/src/gui/9X/menu_general.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_general_calib.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_general_diaganas.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_general_diagkeys.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_general_hardware.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_general_sdmanager.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_general_setup.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_general_trainer.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_general_version.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_model.cpp
Executable file → Normal file
0
radio/src/gui/9X/menu_model_heli.cpp
Executable file → Normal file
|
@ -79,7 +79,7 @@ enum menuModelSetupItems {
|
||||||
ITEM_MODEL_EXTERNAL_MODULE_OUTPUT_TYPE,
|
ITEM_MODEL_EXTERNAL_MODULE_OUTPUT_TYPE,
|
||||||
#endif
|
#endif
|
||||||
ITEM_MODEL_EXTERNAL_MODULE_FAILSAFE,
|
ITEM_MODEL_EXTERNAL_MODULE_FAILSAFE,
|
||||||
#if defined(PCBSKY9X) && !defined(REVA) && !defined(REVX)
|
#if defined(PCBSKY9X) && !defined(REVA)
|
||||||
ITEM_MODEL_EXTRA_MODULE_LABEL,
|
ITEM_MODEL_EXTRA_MODULE_LABEL,
|
||||||
ITEM_MODEL_EXTRA_MODULE_CHANNELS,
|
ITEM_MODEL_EXTRA_MODULE_CHANNELS,
|
||||||
ITEM_MODEL_EXTRA_MODULE_BIND,
|
ITEM_MODEL_EXTRA_MODULE_BIND,
|
||||||
|
@ -102,7 +102,7 @@ enum menuModelSetupItems {
|
||||||
#define MODEL_SETUP_RANGE_OFS 4*FW+3
|
#define MODEL_SETUP_RANGE_OFS 4*FW+3
|
||||||
#define MODEL_SETUP_SET_FAILSAFE_OFS 7*FW-2
|
#define MODEL_SETUP_SET_FAILSAFE_OFS 7*FW-2
|
||||||
|
|
||||||
#if defined(PCBSKY9X) && !defined(REVA) && !defined(REVX)
|
#if defined(PCBSKY9X) && !defined(REVA)
|
||||||
#define CURRENT_MODULE_EDITED(k) (k>=ITEM_MODEL_EXTRA_MODULE_LABEL ? EXTRA_MODULE : EXTERNAL_MODULE)
|
#define CURRENT_MODULE_EDITED(k) (k>=ITEM_MODEL_EXTRA_MODULE_LABEL ? EXTRA_MODULE : EXTERNAL_MODULE)
|
||||||
#else
|
#else
|
||||||
#define CURRENT_MODULE_EDITED(k) (EXTERNAL_MODULE)
|
#define CURRENT_MODULE_EDITED(k) (EXTERNAL_MODULE)
|
||||||
|
@ -116,7 +116,7 @@ void menuModelSetup(uint8_t event)
|
||||||
#define IS_D8_RX(x) (g_model.moduleData[x].rfProtocol == RF_PROTO_D8)
|
#define IS_D8_RX(x) (g_model.moduleData[x].rfProtocol == RF_PROTO_D8)
|
||||||
#define EXTERNAL_MODULE_CHANNELS_ROWS() IF_EXTERNAL_MODULE_ON(IS_MODULE_DSM2(EXTERNAL_MODULE) ? (uint8_t)0 : (uint8_t)1)
|
#define EXTERNAL_MODULE_CHANNELS_ROWS() IF_EXTERNAL_MODULE_ON(IS_MODULE_DSM2(EXTERNAL_MODULE) ? (uint8_t)0 : (uint8_t)1)
|
||||||
#define EXTERNAL_MODULE_SETTINGS_ROWS() (IS_MODULE_XJT(EXTERNAL_MODULE) && IS_D8_RX(EXTERNAL_MODULE)) ? (uint8_t)1 : (IS_MODULE_PPM(EXTERNAL_MODULE) || IS_MODULE_XJT(EXTERNAL_MODULE) || IS_MODULE_DSM2(EXTERNAL_MODULE)) ? (uint8_t)2 : HIDDEN_ROW
|
#define EXTERNAL_MODULE_SETTINGS_ROWS() (IS_MODULE_XJT(EXTERNAL_MODULE) && IS_D8_RX(EXTERNAL_MODULE)) ? (uint8_t)1 : (IS_MODULE_PPM(EXTERNAL_MODULE) || IS_MODULE_XJT(EXTERNAL_MODULE) || IS_MODULE_DSM2(EXTERNAL_MODULE)) ? (uint8_t)2 : HIDDEN_ROW
|
||||||
#if defined(PCBSKY9X) && defined(REVX)
|
#if defined(PCBSKY9X) && !defined(REVX)
|
||||||
#define OUTPUT_TYPE_ROWS() (IS_MODULE_PPM(EXTERNAL_MODULE) ? (uint8_t)0 : HIDDEN_ROW) ,
|
#define OUTPUT_TYPE_ROWS() (IS_MODULE_PPM(EXTERNAL_MODULE) ? (uint8_t)0 : HIDDEN_ROW) ,
|
||||||
#else
|
#else
|
||||||
#define OUTPUT_TYPE_ROWS()
|
#define OUTPUT_TYPE_ROWS()
|
||||||
|
@ -128,7 +128,7 @@ void menuModelSetup(uint8_t event)
|
||||||
#define MODEL_SETUP_MAX_LINES (1+ITEM_MODEL_SETUP_MAX)
|
#define MODEL_SETUP_MAX_LINES (1+ITEM_MODEL_SETUP_MAX)
|
||||||
#define POT_WARN_ITEMS() ((g_model.nPotsToWarn >> 6) ? (uint8_t)NUM_POTS : (uint8_t)0)
|
#define POT_WARN_ITEMS() ((g_model.nPotsToWarn >> 6) ? (uint8_t)NUM_POTS : (uint8_t)0)
|
||||||
#define TIMER_ROWS 2, 0, CASE_PERSISTENT_TIMERS(0) 0, 0
|
#define TIMER_ROWS 2, 0, CASE_PERSISTENT_TIMERS(0) 0, 0
|
||||||
#if (defined(PCBSKY9X) && !defined(REVA) && !defined(REVX))
|
#if (defined(PCBSKY9X) && !defined(REVA))
|
||||||
#define EXTRA_MODULE_ROWS LABEL(ExtraModule), 1, 2,
|
#define EXTRA_MODULE_ROWS LABEL(ExtraModule), 1, 2,
|
||||||
#else
|
#else
|
||||||
#define EXTRA_MODULE_ROWS
|
#define EXTRA_MODULE_ROWS
|
||||||
|
@ -485,7 +485,7 @@ void menuModelSetup(uint8_t event)
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PCBSKY9X) && !defined(REVX)
|
#if defined(PCBSKY9X)
|
||||||
case ITEM_MODEL_EXTRA_MODULE_LABEL:
|
case ITEM_MODEL_EXTRA_MODULE_LABEL:
|
||||||
lcd_putsLeft(y, "RF Port 2 (PPM)");
|
lcd_putsLeft(y, "RF Port 2 (PPM)");
|
||||||
break;
|
break;
|
||||||
|
@ -530,7 +530,7 @@ void menuModelSetup(uint8_t event)
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PCBSKY9X) && !defined(REVX)
|
#if defined(PCBSKY9X)
|
||||||
case ITEM_MODEL_EXTRA_MODULE_CHANNELS:
|
case ITEM_MODEL_EXTRA_MODULE_CHANNELS:
|
||||||
#endif
|
#endif
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
|
@ -562,7 +562,7 @@ void menuModelSetup(uint8_t event)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PCBSKY9X) && !defined(REVX)
|
#if defined(PCBSKY9X)
|
||||||
case ITEM_MODEL_EXTRA_MODULE_BIND:
|
case ITEM_MODEL_EXTRA_MODULE_BIND:
|
||||||
#endif
|
#endif
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
|
|