Merge branch 'next' of https://github.com/opentx/opentx into TaranisPlus
Conflicts: companion/src/firmwares/opentx/opentxinterface.cpp radio/src/haptic.cpp radio/src/targets/gruvin9x/board_gruvin9x.h radio/src/targets/mega2560/board_mega2560.h radio/src/targets/sky9x/board_sky9x.h radio/src/targets/stock/board_stock.h radio/src/targets/taranis/board_taranis.h radio/src/targets/taranis/haptic_driver.cpp
This commit is contained in:
+7
-1
@@ -271,7 +271,7 @@ LUA = NO
|
||||
|
||||
# Menu Lock modes
|
||||
# Values = NO, READONLY, NOMENUS
|
||||
MENUS_LOCK == NO
|
||||
MENUS_LOCK = NO
|
||||
|
||||
#------- END BUILD OPTIONS ---------------------------
|
||||
|
||||
@@ -632,6 +632,12 @@ ifeq ($(PCB), TARANIS)
|
||||
SDCARD = YES
|
||||
THR_TRACE = YES
|
||||
EXT = FRSKY
|
||||
AUTOSWITCH = YES
|
||||
AUTOSOURCE = YES
|
||||
DBLKEYS = YES
|
||||
PPM_LIMITS_SYMETRICAL = YES
|
||||
PPM_CENTER_ADJUSTABLE = YES
|
||||
DSM2 = PPM
|
||||
CPPDEFS += -DPCBTARANIS -DCPUARM -DEEPROM_VARIANT=0 -DAUDIO -DPXX
|
||||
INCDIRS += targets/taranis CoOS/kernel CoOS/portable
|
||||
EXTRAINCDIRS += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/include
|
||||
|
||||
@@ -393,11 +393,11 @@ int menuFlashFile(uint32_t index, uint8_t event)
|
||||
|
||||
if (Valid == 0) {
|
||||
// Validate file here
|
||||
if (fr = openBinaryFile(index)) {
|
||||
if ((fr = openBinaryFile(index))) {
|
||||
Valid = 2;
|
||||
}
|
||||
else {
|
||||
if (fr = f_close(&FlashFile)) {
|
||||
if ((fr = f_close(&FlashFile))) {
|
||||
Valid = 2;
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -3186,7 +3186,7 @@ void menuModelMixOne(uint8_t event)
|
||||
if (attr && m_posHorz==0 && (not_stick || editMode>0)) md2->carryTrim = -checkIncDecModel(event, carryTrim, not_stick ? TRIM_ON : -TRIM_OFF, -TRIM_AIL);
|
||||
if (!not_stick) {
|
||||
lcd_puts(COLUMN_X+MIXES_2ND_COLUMN, y, STR_DREX);
|
||||
menu_lcd_onoff(COLUMN_X+MIXES_2ND_COLUMN+5*FW, y, !md2->noExpo, m_posHorz==1 ? attr : 0);
|
||||
menu_lcd_onoff(COLUMN_X+MIXES_2ND_COLUMN+DREX_CHBOX_OFFSET, y, !md2->noExpo, m_posHorz==1 ? attr : 0);
|
||||
if (attr && m_posHorz==1 && editMode>0) md2->noExpo = !checkIncDecModel(event, !md2->noExpo, 0, 1);
|
||||
}
|
||||
else if (attr) {
|
||||
|
||||
@@ -127,7 +127,7 @@ void menuTextView(uint8_t event)
|
||||
}
|
||||
|
||||
for (int i=0; i<LCD_LINES-1; i++) {
|
||||
lcd_puts(0, i*FH+FH+1, s_text_screen[i]);
|
||||
lcd_putsAtt(0, i*FH+FH+1, s_text_screen[i], FIXEDWIDTH);
|
||||
}
|
||||
|
||||
char *title = s_text_file;
|
||||
|
||||
@@ -58,16 +58,16 @@ void hapticQueue::heartbeat()
|
||||
hapticOn(g_eeGeneral.hapticStrength * 20);
|
||||
#else
|
||||
if (hapticTick-- > 0) {
|
||||
HAPTIC_ON;
|
||||
HAPTIC_ON();
|
||||
}
|
||||
else {
|
||||
HAPTIC_OFF;
|
||||
HAPTIC_OFF();
|
||||
hapticTick = g_eeGeneral.hapticStrength;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
HAPTIC_OFF;
|
||||
HAPTIC_OFF();
|
||||
if (buzzPause > 0) {
|
||||
buzzPause--;
|
||||
}
|
||||
|
||||
@@ -367,6 +367,12 @@ void lcd_putsnAtt(xcoord_t x, uint8_t y, const pm_char * s, uint8_t len, LcdFlag
|
||||
#endif
|
||||
if (y >= LCD_H) break;
|
||||
}
|
||||
#if defined(CPUARM)
|
||||
else if (c == 0x1D) { //TAB
|
||||
x |= 0x3F;
|
||||
x += 1;
|
||||
}
|
||||
#endif
|
||||
else {
|
||||
x += (c*FW/2); //EXTENDED SPACE
|
||||
}
|
||||
|
||||
+68
-4
@@ -47,6 +47,7 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#define lua_registernumber(L, n, i) (lua_pushnumber(L, (i)), lua_setglobal(L, (n)))
|
||||
#define lua_registerint(L, n, i) (lua_pushinteger(L, (i)), lua_setglobal(L, (n)))
|
||||
#define lua_pushtablenil(L, k) (lua_pushstring(L, (k)), lua_pushnil(L), lua_settable(L, -3))
|
||||
#define lua_pushtableboolean(L, k, v) (lua_pushstring(L, (k)), lua_pushboolean(L, (v)), lua_settable(L, -3))
|
||||
@@ -89,11 +90,63 @@ static int luaGetTime(lua_State *L)
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void luaGetValueAndPush(int src)
|
||||
{
|
||||
/*
|
||||
Hint about dividers are taken from putsTelemetryChannel()
|
||||
*/
|
||||
if (!TELEMETRY_STREAMING() && src>=MIXSRC_FIRST_TELEM && src<=MIXSRC_LAST_TELEM) {
|
||||
//telemetry not working, return zero for telemetry sources
|
||||
lua_pushinteger(L, (int)0);
|
||||
return;
|
||||
}
|
||||
switch (src) {
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_TX_VOLTAGE:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_VFAS:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_MIN_VFAS:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_CELLS_SUM:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_MIN_CELLS_SUM:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_CURRENT:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_MAX_CURRENT:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_VSPEED:
|
||||
//theese need to be divided by 10
|
||||
lua_pushnumber(L, getValue(src)/10.0);
|
||||
break;
|
||||
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_A1:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_A2:
|
||||
//convert raw A1/2 values to calibrated values
|
||||
lua_pushnumber(L, applyChannelRatio(src-(MIXSRC_FIRST_TELEM-1+TELEM_A1), getValue(src))/100.0);
|
||||
break;
|
||||
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_MIN_A1:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_MIN_A2:
|
||||
//convert raw A1/2 values to calibrated values
|
||||
lua_pushnumber(L, applyChannelRatio(src-(MIXSRC_FIRST_TELEM-1+TELEM_MIN_A1), getValue(src))/100.0);
|
||||
break;
|
||||
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_CELL:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_MIN_CELL:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_ALT:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_ACCx:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_ACCy:
|
||||
case MIXSRC_FIRST_TELEM-1+TELEM_ACCz:
|
||||
//theese need to be divided by 100
|
||||
lua_pushnumber(L, getValue(src)/100.0);
|
||||
break;
|
||||
|
||||
//TODO: add other values that need special treatment
|
||||
|
||||
default:
|
||||
lua_pushinteger(L, getValue(src));
|
||||
}
|
||||
}
|
||||
|
||||
static int luaGetValue(lua_State *L)
|
||||
{
|
||||
if (lua_isnumber(L, 1)) {
|
||||
int src = luaL_checkinteger(L, 1);
|
||||
lua_pushinteger(L, getValue(src));
|
||||
luaGetValueAndPush(src);
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
@@ -131,6 +184,16 @@ static int luaPlayFile(lua_State *L)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int luaPlayNumber(lua_State *L)
|
||||
{
|
||||
int number = luaL_checkinteger(L, 1);
|
||||
int unit = luaL_checkinteger(L, 2);
|
||||
int att = luaL_checkinteger(L, 3);
|
||||
playNumber(number, unit, att, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int luaLcdLock(lua_State *L)
|
||||
{
|
||||
lcd_locked = true;
|
||||
@@ -822,6 +885,7 @@ void luaInit()
|
||||
lua_register(L, "getVersion", luaGetVersion);
|
||||
lua_register(L, "getValue", luaGetValue);
|
||||
lua_register(L, "playFile", luaPlayFile);
|
||||
lua_register(L, "playNumber", luaPlayNumber);
|
||||
lua_register(L, "popupInput", luaPopupInput);
|
||||
|
||||
// Push OpenTX constants
|
||||
@@ -1053,12 +1117,12 @@ void luaTask(uint8_t evt)
|
||||
lua_rawgeti(L, LUA_REGISTRYINDEX, sid.run);
|
||||
for (int j=0; j<sid.inputsCount; j++) {
|
||||
if (sid.inputs[j].type == 1)
|
||||
lua_pushinteger(L, getValue((uint8_t)sd.inputs[j]));
|
||||
luaGetValueAndPush((uint8_t)sd.inputs[j]);
|
||||
else
|
||||
lua_pushinteger(L, sd.inputs[j]);
|
||||
lua_pushinteger(L, sd.inputs[j] + sid.inputs[j].def);
|
||||
}
|
||||
if (lua_pcall(L, sid.inputsCount, sid.outputsCount, 0) == 0) {
|
||||
for (int j=0; j<sid.outputsCount; j++) {
|
||||
for (int j=sid.outputsCount-1; j>=0; j--) {
|
||||
if (!lua_isnumber(L, -1)) {
|
||||
sid.state = (instructionsPercent > 100 ? SCRIPT_KILLED : SCRIPT_SYNTAX_ERROR);
|
||||
TRACE("Script %10s disabled", sd.file);
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include <limits.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
#define USE_FATFS
|
||||
|
||||
/*
|
||||
@@ -223,9 +225,9 @@
|
||||
#define luai_writestringerror(s,p) \
|
||||
(fprintf(stderr, (s), (p)), fflush(stderr))
|
||||
#else
|
||||
#define luai_writestring(s,l)
|
||||
#define luai_writeline()
|
||||
#define luai_writestringerror(s,p)
|
||||
#define luai_writestring(s,l) TRACE_DEBUG_WP("%s", s);
|
||||
#define luai_writeline() TRACE_DEBUG_WP("\n");
|
||||
#define luai_writestringerror(s,p) TRACE_DEBUG_WP(s, p);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -826,10 +826,16 @@ enum Functions {
|
||||
#define IS_ADJUST_GV_FUNC(func) (0)
|
||||
#endif
|
||||
|
||||
#if defined(VOICE)
|
||||
#define HAS_REPEAT_PARAM(func) (func == FUNC_PLAY_SOUND || (func >= FUNC_PLAY_TRACK && func <= FUNC_PLAY_VALUE))
|
||||
#if defined(HAPTIC)
|
||||
#define IS_HAPTIC_FUNC(func) (func == FUNC_HAPTIC)
|
||||
#else
|
||||
#define HAS_REPEAT_PARAM(func) (func == FUNC_PLAY_SOUND)
|
||||
#define IS_HAPTIC_FUNC(func) (0)
|
||||
#endif
|
||||
|
||||
#if defined(VOICE)
|
||||
#define HAS_REPEAT_PARAM(func) (func == FUNC_PLAY_SOUND || (func >= FUNC_PLAY_TRACK && func <= FUNC_PLAY_VALUE) || IS_HAPTIC_FUNC(func))
|
||||
#else
|
||||
#define HAS_REPEAT_PARAM(func) (func == FUNC_PLAY_SOUND || IS_HAPTIC_FUNC(func))
|
||||
#endif
|
||||
|
||||
enum ResetFunctionParam {
|
||||
|
||||
@@ -3564,6 +3564,9 @@ void evalFunctions()
|
||||
case FUNC_PLAY_SOUND:
|
||||
case FUNC_PLAY_TRACK:
|
||||
case FUNC_PLAY_VALUE:
|
||||
#if defined(HAPTIC)
|
||||
case FUNC_HAPTIC:
|
||||
#endif
|
||||
{
|
||||
tmr10ms_t tmr10ms = get_tmr10ms();
|
||||
uint8_t repeatParam = CFN_PLAY_REPEAT(sd);
|
||||
@@ -3578,6 +3581,11 @@ void evalFunctions()
|
||||
else if (CFN_FUNC(sd) == FUNC_PLAY_VALUE) {
|
||||
PLAY_VALUE(CFN_PARAM(sd), i+1);
|
||||
}
|
||||
#if defined(HAPTIC)
|
||||
else if (CFN_FUNC(sd) == FUNC_HAPTIC) {
|
||||
haptic.event(AU_FRSKY_LAST+CFN_PARAM(sd));
|
||||
}
|
||||
#endif
|
||||
else {
|
||||
playCustomFunctionFile(sd, i+1);
|
||||
}
|
||||
@@ -3643,7 +3651,7 @@ void evalFunctions()
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if defined(HAPTIC)
|
||||
#if defined(HAPTIC) && !defined(CPUARM)
|
||||
case FUNC_HAPTIC:
|
||||
haptic.event(AU_FRSKY_LAST+CFN_PARAM(sd));
|
||||
break;
|
||||
|
||||
@@ -186,8 +186,8 @@ void pwrOff();
|
||||
|
||||
// Haptic driver
|
||||
#define hapticOff() // TODO hapticOn() cleaner ...
|
||||
#define HAPTIC_ON PORTD &= ~(1 << OUT_D_HAPTIC)
|
||||
#define HAPTIC_OFF PORTD |= (1 << OUT_D_HAPTIC)
|
||||
#define HAPTIC_ON() PORTD &= ~(1 << OUT_D_HAPTIC)
|
||||
#define HAPTIC_OFF() PORTD |= (1 << OUT_D_HAPTIC)
|
||||
|
||||
// Rotary encoder driver
|
||||
#if ROTARY_ENCODERS <= 2
|
||||
|
||||
@@ -189,7 +189,7 @@ void pwrOff();
|
||||
|
||||
// Haptic driver
|
||||
#define hapticOff() // TODO hapticOn() cleaner ...
|
||||
#define HAPTIC_ON PORTD &= ~(1 << OUT_D_HAPTIC)
|
||||
#define HAPTIC_OFF PORTD |= (1 << OUT_D_HAPTIC)
|
||||
#define HAPTIC_ON() PORTD &= ~(1 << OUT_D_HAPTIC)
|
||||
#define HAPTIC_OFF() PORTD |= (1 << OUT_D_HAPTIC)
|
||||
|
||||
#endif
|
||||
|
||||
@@ -239,7 +239,7 @@ extern int8_t Coproc_maxtemp;
|
||||
// Haptic driver
|
||||
void hapticOff(void);
|
||||
void hapticOn(uint32_t pwmPercent);
|
||||
#define HAPTIC_OFF hapticOff()
|
||||
#define HAPTIC_OFF() hapticOff()
|
||||
|
||||
// BlueTooth driver
|
||||
#if defined(BLUETOOTH)
|
||||
|
||||
@@ -231,8 +231,8 @@ void rotencPoll();
|
||||
#endif
|
||||
|
||||
// Haptic
|
||||
#define HAPTIC_ON PORTG |= (1 << OUT_G_HAPTIC)
|
||||
#define HAPTIC_OFF PORTG &= ~(1 << OUT_G_HAPTIC)
|
||||
#define HAPTIC_ON() PORTG |= (1 << OUT_G_HAPTIC)
|
||||
#define HAPTIC_OFF() PORTG &= ~(1 << OUT_G_HAPTIC)
|
||||
|
||||
// USB fake driver
|
||||
#define usbPlugged() false
|
||||
|
||||
@@ -239,12 +239,16 @@ void eeWriteBlockCmp(const void *pointer_ram, uint16_t pointer_eeprom, size_t si
|
||||
// Debug driver
|
||||
void debugPutc(const char c);
|
||||
|
||||
// Haptic
|
||||
void hapticOff(void);
|
||||
void hapticOn(uint32_t pwmPercent);
|
||||
// Haptic driver
|
||||
void hapticInit(void);
|
||||
#define HAPTIC_OFF hapticOff()
|
||||
#define HAPTIC_ON hapticOn(100)
|
||||
void hapticOff(void);
|
||||
#define HAPTIC_OFF() hapticOff()
|
||||
#if defined(REVPLUS)
|
||||
void hapticOn(uint32_t pwmPercent);
|
||||
#else
|
||||
void hapticOn();
|
||||
#define HAPTIC_ON() hapticOn()
|
||||
#endif
|
||||
|
||||
extern uint8_t currentTrainerMode;
|
||||
|
||||
|
||||
@@ -39,22 +39,26 @@
|
||||
void hapticOff(void)
|
||||
{
|
||||
#if defined(REVPLUS)
|
||||
return; //TODO PWM support
|
||||
GPIO_ResetBits(GPIO_HAPTIC, PIN_HAPTIC); // Temp, TODO PWM support
|
||||
return;
|
||||
#else
|
||||
GPIO_ResetBits(GPIO_HAPTIC, PIN_HAPTIC);
|
||||
#endif
|
||||
}
|
||||
|
||||
void hapticOn(uint32_t pwmPercent)
|
||||
{
|
||||
#if defined(REVPLUS)
|
||||
// pwmPercent 0-100
|
||||
return; //TODO PWM support
|
||||
void hapticOn(uint32_t pwmPercent)
|
||||
{ // pwmPercent 0-100
|
||||
GPIO_SetBits(GPIO_HAPTIC, PIN_HAPTIC); // Temp, TODO PWM support
|
||||
return;
|
||||
}
|
||||
#else
|
||||
void hapticOn()
|
||||
{
|
||||
// No PWM before REVPLUS
|
||||
GPIO_SetBits(GPIO_HAPTIC, PIN_HAPTIC);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
void hapticInit(void)
|
||||
{
|
||||
|
||||
@@ -33,11 +33,12 @@
|
||||
*
|
||||
* !!!!! DO NOT EDIT cz.h - EDIT cz.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\013"
|
||||
@@ -454,15 +455,15 @@
|
||||
#define TR_COPYINGMODEL "Kopíruji model.."
|
||||
#define TR_MOVINGMODEL "Přesouvám model."
|
||||
#define TR_LOADINGMODEL "Aktivuji model.."
|
||||
#define TR_NAME "Jméno"
|
||||
#define TR_NAME "Název"
|
||||
#define TR_MODELNAME "Název modelu"
|
||||
#define TR_PHASENAME "Jméno"
|
||||
#define TR_MIXNAME "Jméno"
|
||||
#define TR_INPUTNAME "Jméno"
|
||||
#define TR_PHASENAME "Název"
|
||||
#define TR_MIXNAME "Název"
|
||||
#define TR_INPUTNAME "Název"
|
||||
#if defined(PCBTARANIS)
|
||||
#define TR_EXPONAME "Poznámka"
|
||||
#define TR_EXPONAME "Popis"
|
||||
#else
|
||||
#define TR_EXPONAME "Jméno"
|
||||
#define TR_EXPONAME "Název"
|
||||
#endif
|
||||
#define TR_BITMAP "Obrázek"
|
||||
#define TR_TIMER "Stopky "
|
||||
@@ -500,7 +501,8 @@
|
||||
#define TR_DIFFERENTIAL "Dif.výchylek"
|
||||
#define TR_OFFSET INDENT"Ofset"
|
||||
#define TR_TRIM "Trim"
|
||||
#define TR_DREX "DRex"
|
||||
#define TR_DREX "DR/Expo"
|
||||
#define DREX_CHBOX_OFFSET 45
|
||||
#define TR_CURVE "Křivka"
|
||||
#define TR_FLMODE "Režim"
|
||||
#define TR_MIXWARNING "Varování"
|
||||
@@ -606,22 +608,22 @@
|
||||
#define TR_MENUFLIGHTPHASES "LETOVÉ REŽIMY"
|
||||
#define TR_MENUHELISETUP "HELI"
|
||||
|
||||
#define TR_MENULIMITS "SERVA"
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
#define TR_MENUINPUTS "VSTUPY"
|
||||
#define TR_MENULIMITS "SERVA"
|
||||
#elif defined(PPM_CENTER_ADJUSTABLE) || defined(PPM_LIMITS_SYMETRICAL) // The right menu titles for the gurus ...
|
||||
#define TR_MENUINPUTS "DR/EXPO"
|
||||
#define TR_MENULIMITS "LIMITY"
|
||||
#else
|
||||
#define TR_MENUINPUTS "DR/EXPO"
|
||||
#define TR_MENULIMITS "LIMITY"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
#define TR_MENUCURVES "KŘIVKY"
|
||||
#define TR_MENUCURVE "\002K"
|
||||
#define TR_MENULOGICALSWITCH "LOG. SPÍNAč"
|
||||
#define TR_MENULOGICALSWITCHES "LOGICKÉ SPÍNAčE"
|
||||
#define TR_MENUCUSTOMFUNC "FUNKCE"
|
||||
#define TR_MENULOGICALSWITCH "LOG. SPÍNAč"
|
||||
#define TR_MENULOGICALSWITCHES "LOGICKÉ SPÍNAčE"
|
||||
#define TR_MENUCUSTOMFUNC "SPECIÁLNÍ FUNKCE"
|
||||
#define TR_MENUCUSTOMSCRIPTS "SKRIPTY LUA"
|
||||
#define TR_MENUCUSTOMSCRIPT "SKRIPT"
|
||||
#define TR_MENUTELEMETRY "TELEMETRIE"
|
||||
@@ -738,7 +740,7 @@
|
||||
#define TR_STATISTICS "Statistika"
|
||||
#define TR_ABOUT_US "O nás"
|
||||
#define TR_AND_SWITCH "AND Spínač"
|
||||
#define TR_CF "FN"
|
||||
#define TR_CF "SF"
|
||||
#define TR_SPEAKER INDENT"Repro"
|
||||
#define TR_BUZZER INDENT"Pípák"
|
||||
#define TR_BYTES "[B]"
|
||||
@@ -803,8 +805,8 @@
|
||||
#endif
|
||||
|
||||
// Taranis column headers
|
||||
#define TR_PHASES_HEADERS { " Jméno ", " Spínač ", " Trim směrovky ", " Trim výškovky ", " Trim plynu ", " Trim křidélek ", " Přechod náběhu ", " Přechod konce " }
|
||||
#define TR_LIMITS_HEADERS { " Jméno ", " Subtrim ", " Min ", " Max ", " Směr ", " Křivka ", " Střed PPM ", " Symetrické " }
|
||||
#define TR_PHASES_HEADERS { " Název ", " Spínač ", " Trim směrovky ", " Trim výškovky ", " Trim plynu ", " Trim křidélek ", " Přechod náběhu ", " Přechod konce " }
|
||||
#define TR_LIMITS_HEADERS { " Název ", " Subtrim ", " Min ", " Max ", " Invertovat ", " Křivka ", " Střed PPM ", " Symetrické " }
|
||||
#define TR_CSW_HEADERS { " Funkce ", " Hodnota 1 ", " Hodnota 2 ", " Hodnota 2 ", " AND Spínač ", " Trvání ", " Zpoždění " }
|
||||
|
||||
//Taranis About screen
|
||||
@@ -867,7 +869,7 @@
|
||||
|
||||
#define TR_TOP_BAR "Horní lišta"
|
||||
#define TR_ALTITUDE INDENT "Výška"
|
||||
#define TR_SCALE "Scale"
|
||||
#define TR_SCALE "Měřítko"
|
||||
#define TR_VIEW_CHANNELS "Zobrazit kanály"
|
||||
#define TR_VIEW_NOTES "Zobrazit poznámky"
|
||||
#define TR_MODS_FORBIDDEN "Změny nejsou povoleny!"
|
||||
|
||||
@@ -31,15 +31,16 @@
|
||||
* !!!!! DO NOT EDIT de.h - EDIT de.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
#define TR_OFFON "AUS""EIN"
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\012"
|
||||
@@ -284,7 +285,7 @@
|
||||
#define TR_SWR TR("SWR\0", "SWR\0 ")
|
||||
#define TR_RX_BATT TR("RxBt", "RxBat")
|
||||
#define TR_A3_A4 TR("A3\0 ""A4\0 ", "A3\0 ""A4\0 ")
|
||||
#define TR_A3_A4_MIN TR("A3\0 ""A4\0 ", "A3\0 ""A4\0 ")
|
||||
#define TR_A3_A4_MIN TR("A3-\0""A4-\0", "A3-\0 ""A4-\0 ")
|
||||
#else
|
||||
#define TR_TELEM_RESERVE
|
||||
#define TR_SWR
|
||||
@@ -505,6 +506,7 @@
|
||||
#define TR_OFFSET INDENT"Offset"
|
||||
#define TR_TRIM "Trim"
|
||||
#define TR_DREX "DRex"
|
||||
#define DREX_CHBOX_OFFSET 30
|
||||
#define TR_CURVE "Kurve"
|
||||
#define TR_FLMODE TR("Phase","Phasen")
|
||||
#define TR_MIXWARNING "Warnung"
|
||||
|
||||
@@ -33,11 +33,12 @@
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\012"
|
||||
@@ -505,6 +506,7 @@
|
||||
#define TR_OFFSET INDENT "Offset"
|
||||
#define TR_TRIM "Trim"
|
||||
#define TR_DREX "DRex"
|
||||
#define DREX_CHBOX_OFFSET 30
|
||||
#define TR_CURVE "Curve"
|
||||
#define TR_FLMODE TR("Mode","Modes")
|
||||
#define TR_MIXWARNING "Warning"
|
||||
@@ -646,8 +648,8 @@
|
||||
#define TR_SHUTDOWN "SHUTTING DOWN"
|
||||
#define TR_BATT_CALIB "Battery Calib"
|
||||
#define TR_CURRENT_CALIB "Current Calib"
|
||||
#define TR_VOLTAGE INDENT "Voltage"
|
||||
#define TR_CURRENT INDENT "Current"
|
||||
#define TR_VOLTAGE TR(INDENT "Voltage",INDENT "Voltage Source")
|
||||
#define TR_CURRENT TR(INDENT "Current",INDENT "Current Source")
|
||||
#define TR_SELECT_MODEL "Select Model"
|
||||
#define TR_CREATE_MODEL "Create Model"
|
||||
#define TR_COPY_MODEL "Copy Model"
|
||||
|
||||
@@ -28,18 +28,19 @@
|
||||
*
|
||||
* In order to make translations easier es.h.txt is parsed and national
|
||||
* characters are replaced by bitmap codes. The result is es.h.
|
||||
*
|
||||
*
|
||||
* See translate.py in the util catalog for the list of character codes
|
||||
*
|
||||
* !!!!! DO NOT EDIT es.h - EDIT es.h.txt INSTEAD !!!!!!!
|
||||
* !!!!! DO NOT EDIT es.h - EDIT es.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define LEN_OFFON "\003"
|
||||
#define TR_OFFON "OFF""ON\0"
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\012"
|
||||
@@ -501,6 +502,7 @@
|
||||
#define TR_OFFSET INDENT"Offset"
|
||||
#define TR_TRIM "Trim"
|
||||
#define TR_DREX "DRex"
|
||||
#define DREX_CHBOX_OFFSET 30
|
||||
#define TR_CURVE "Curva"
|
||||
#define TR_FLMODE TR("Modo","Modos")
|
||||
#define TR_MIXWARNING "Aviso"
|
||||
|
||||
@@ -34,10 +34,11 @@
|
||||
* !!!!! DO NOT EDIT fi.h - EDIT fi.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\012"
|
||||
@@ -501,6 +502,7 @@
|
||||
#define TR_OFFSET INDENT"Offset"
|
||||
#define TR_TRIM "Trim"
|
||||
#define TR_DREX "DRex"
|
||||
#define DREX_CHBOX_OFFSET 30
|
||||
#define TR_CURVE "Curve"
|
||||
#define TR_FLMODE TR("Mode","Modes")
|
||||
#define TR_MIXWARNING "Warning"
|
||||
|
||||
@@ -31,10 +31,11 @@
|
||||
* !!!!! DO NOT EDIT fr.h - EDIT fr.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""ET\0 ""OU\0 ""OUX\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""ET\0 ""OU\0 ""OUX\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""ET\0 ""OU\0 ""OUX\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""ET\0 ""OU\0 ""OUX\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\015"
|
||||
@@ -334,7 +335,7 @@
|
||||
#define TR_VTELPROTO "Aucun ""Hub\0 ""WSHHigh"
|
||||
|
||||
#define LEN_VOLTSRC "\003"
|
||||
#define TR_VOLTSRC "---""A1\0""A2\0""FAS""Cel"
|
||||
#define TR_VOLTSRC "---""A1\0""A2\0""FAS""Elm"
|
||||
|
||||
#define LEN_VARIOSRC "\005"
|
||||
#if defined(FRSKY_SPORT)
|
||||
@@ -501,6 +502,7 @@
|
||||
#define TR_OFFSET INDENT "Décalage"
|
||||
#define TR_TRIM "Trim"
|
||||
#define TR_DREX "DRex"
|
||||
#define DREX_CHBOX_OFFSET 30
|
||||
#define TR_CURVE "Courbe"
|
||||
#define TR_FLMODE TR("Phase", "Phases")
|
||||
#define TR_MIXWARNING "Alerte"
|
||||
@@ -642,8 +644,8 @@
|
||||
#define TR_SHUTDOWN "ARRET EN COURS"
|
||||
#define TR_BATT_CALIB "Calib. Batterie"
|
||||
#define TR_CURRENT_CALIB "Calib. Courant"
|
||||
#define TR_VOLTAGE INDENT "Tension"
|
||||
#define TR_CURRENT INDENT "Courant"
|
||||
#define TR_VOLTAGE TR(INDENT "Tension",INDENT "Source Tension")
|
||||
#define TR_CURRENT TR(INDENT "Courant",INDENT "Source Courant")
|
||||
#define TR_SELECT_MODEL "Sélect. Modèle"
|
||||
#define TR_CREATE_MODEL "Créer Modèle"
|
||||
#define TR_COPY_MODEL "Copier Modèle"
|
||||
|
||||
@@ -34,10 +34,11 @@
|
||||
* !!!!! DO NOT EDIT it.h - EDIT it.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\015"
|
||||
@@ -501,6 +502,7 @@
|
||||
#define TR_OFFSET INDENT"Offset"
|
||||
#define TR_TRIM "Trim"
|
||||
#define TR_DREX "DRex"
|
||||
#define DREX_CHBOX_OFFSET 30
|
||||
#define TR_CURVE "Curva"
|
||||
#define TR_FLMODE "Fase"
|
||||
#define TR_MIXWARNING "Avviso"
|
||||
@@ -622,8 +624,8 @@
|
||||
#define TR_MENULOGICALSWITCH "SWITCH PERSON."
|
||||
#define TR_MENULOGICALSWITCHES TR("SWITCH PERSON.","SWITCH PERSONALIZZATI")
|
||||
#define TR_MENUCUSTOMFUNC TR("FUNZ. PERSON.","FUNZIONI PERSONALIZZATE")
|
||||
#define TR_MENUCUSTOMSCRIPTS "CUSTOM SCRIPTS"
|
||||
#define TR_MENUCUSTOMSCRIPT "CUSTOM SCRIPT"
|
||||
#define TR_MENUCUSTOMSCRIPTS "CUSTOM SCRIPTS"
|
||||
#define TR_MENUCUSTOMSCRIPT "CUSTOM SCRIPT"
|
||||
#define TR_MENUTELEMETRY "TELEMETRIA"
|
||||
#define TR_MENUTEMPLATES "ESEMPI GUIDA"
|
||||
#define TR_MENUSTAT "STATS"
|
||||
@@ -636,9 +638,9 @@
|
||||
#define TR_LONGITUDE "Longitud."
|
||||
#define TR_GPSCOORD "Coord. GPS"
|
||||
#define TR_VARIO "Vario"
|
||||
#define TR_PITCH_AT_ZERO INDENT "Pitch at Zero"
|
||||
#define TR_PITCH_AT_MAX INDENT "Pitch at Max"
|
||||
#define TR_REPEAT_AT_ZERO INDENT "Repeat at Zero"
|
||||
#define TR_PITCH_AT_ZERO INDENT "Pitch at Zero"
|
||||
#define TR_PITCH_AT_MAX INDENT "Pitch at Max"
|
||||
#define TR_REPEAT_AT_ZERO INDENT "Repeat at Zero"
|
||||
#define TR_SHUTDOWN "ARRESTO.."
|
||||
#define TR_BATT_CALIB "Calibra batt."
|
||||
#define TR_CURRENT_CALIB "Calibra corr."
|
||||
@@ -656,7 +658,7 @@
|
||||
#define TR_INCOMPATIBLE "Incompatibile"
|
||||
#define TR_WARNING "AVVISO"
|
||||
#define TR_EEPROMWARN "EEPROM"
|
||||
#define TR_EEPROM_CONVERTING "EEPROM Converting"
|
||||
#define TR_EEPROM_CONVERTING "EEPROM Converting"
|
||||
#define TR_THROTTLEWARN "MOTORE"
|
||||
#define TR_ALARMSWARN "ALLARMI"
|
||||
#define TR_SWITCHWARN "SWITCH"
|
||||
@@ -681,13 +683,13 @@
|
||||
#define TR_NO_SOUNDS_ON_SD "No Suoni su SD"
|
||||
#define TR_NO_MODELS_ON_SD "No Model. su SD"
|
||||
#define TR_NO_BITMAPS_ON_SD "no Immag. su SD"
|
||||
#define TR_NO_SCRIPTS_ON_SD "No Scripts on SD"
|
||||
#define TR_NO_SCRIPTS_ON_SD "No Scripts on SD"
|
||||
#define TR_PLAY_FILE "Suona"
|
||||
#define TR_DELETE_FILE "Cancella"
|
||||
#define TR_COPY_FILE "Copia"
|
||||
#define TR_RENAME_FILE "Rinomomina"
|
||||
#define TR_ASSIGN_BITMAP "Assegna Immagine"
|
||||
#define TR_EXECUTE_FILE "Execute"
|
||||
#define TR_EXECUTE_FILE "Execute"
|
||||
#define TR_REMOVED " rimosso"
|
||||
#define TR_SD_INFO "Informazioni"
|
||||
#define TR_SD_FORMAT "Format"
|
||||
@@ -711,11 +713,11 @@
|
||||
#define TR_DATE "Data"
|
||||
#define TR_ROTARY_ENCODER "R.Encs"
|
||||
#define TR_CHANNELS_MONITOR "CHANNELS MONITOR"
|
||||
#define TR_PATH_TOO_LONG "Path too long"
|
||||
#define TR_VIEW_TEXT "View text"
|
||||
#define TR_FLASH_BOOTLOADER "Flash BootLoader"
|
||||
#define TR_WRITING "\032Writing..."
|
||||
#define TR_CONFIRM_FORMAT "Confirm Format?"
|
||||
#define TR_PATH_TOO_LONG "Path too long"
|
||||
#define TR_VIEW_TEXT "View text"
|
||||
#define TR_FLASH_BOOTLOADER "Flash BootLoader"
|
||||
#define TR_WRITING "\032Writing..."
|
||||
#define TR_CONFIRM_FORMAT "Confirm Format?"
|
||||
#define TR_INTERNALRF "Modulo Interno"
|
||||
#define TR_EXTERNALRF "Modulo esterno"
|
||||
#define TR_FAILSAFE "Modo failsafe"
|
||||
@@ -753,19 +755,19 @@
|
||||
#define TR_CHANNELRANGE INDENT "Numero Canali"
|
||||
#define TR_LOWALARM INDENT "Allarme Basso"
|
||||
#define TR_CRITICALALARM INDENT "Allarme Critico"
|
||||
#define TR_ENABLE_POPUP "Enable Popup"
|
||||
#define TR_DISABLE_POPUP "Disable Popup"
|
||||
#define TR_CURVE_PRESET "Preset..."
|
||||
#define TR_PRESET "Preset"
|
||||
#define TR_MIRROR "Mirror"
|
||||
#define TR_CLEAR "Clear"
|
||||
#define TR_RESET "Reset"
|
||||
#define TR_RESET_SUBMENU "Reset..."
|
||||
#define TR_COUNT "Count"
|
||||
#define TR_PT "pt"
|
||||
#define TR_PTS "pts"
|
||||
#define TR_SMOOTH "Smooth"
|
||||
#define TR_COPY_TRIMS_TO_OFS "Copy Trims To Offset"
|
||||
#define TR_ENABLE_POPUP "Enable Popup"
|
||||
#define TR_DISABLE_POPUP "Disable Popup"
|
||||
#define TR_CURVE_PRESET "Preset..."
|
||||
#define TR_PRESET "Preset"
|
||||
#define TR_MIRROR "Mirror"
|
||||
#define TR_CLEAR "Clear"
|
||||
#define TR_RESET "Reset"
|
||||
#define TR_RESET_SUBMENU "Reset..."
|
||||
#define TR_COUNT "Count"
|
||||
#define TR_PT "pt"
|
||||
#define TR_PTS "pts"
|
||||
#define TR_SMOOTH "Smooth"
|
||||
#define TR_COPY_TRIMS_TO_OFS "Copy Trims To Offset"
|
||||
#define TR_PERSISTENT_MAH INDENT "Store mAh"
|
||||
#define TR_PREFLIGHT "Preflight Checks"
|
||||
#define TR_CHECKLIST INDENT "Display Checklist"
|
||||
@@ -867,8 +869,8 @@
|
||||
|
||||
#define TR_TOP_BAR "Top Bar"
|
||||
#define TR_ALTITUDE INDENT "Altitude"
|
||||
#define TR_SCALE "Scale"
|
||||
#define TR_VIEW_CHANNELS "View Channels"
|
||||
#define TR_VIEW_NOTES "View Notes"
|
||||
#define TR_SCALE "Scale"
|
||||
#define TR_VIEW_CHANNELS "View Channels"
|
||||
#define TR_VIEW_NOTES "View Notes"
|
||||
#define TR_MODS_FORBIDDEN "Modifications forbidden!"
|
||||
#define TR_UNLOCKED "Unlocked"
|
||||
|
||||
@@ -34,10 +34,11 @@
|
||||
*
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\013"
|
||||
@@ -501,6 +502,7 @@
|
||||
#define TR_OFFSET INDENT"Ofset"
|
||||
#define TR_TRIM "Trymer"
|
||||
#define TR_DREX "DRex"
|
||||
#define DREX_CHBOX_OFFSET 30
|
||||
#define TR_CURVE "Krzywa"
|
||||
#define TR_FLMODE "Tryb"
|
||||
#define TR_MIXWARNING "UWAGA"
|
||||
|
||||
@@ -34,10 +34,11 @@
|
||||
* !!!!! DO NOT EDIT pt.h - EDIT pt.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\015"
|
||||
@@ -501,6 +502,7 @@
|
||||
#define TR_OFFSET INDENT"Desvio"
|
||||
#define TR_TRIM "Trim"
|
||||
#define TR_DREX "DRex"
|
||||
#define DREX_CHBOX_OFFSET 30
|
||||
#define TR_CURVE "Curvas"
|
||||
#define TR_FLMODE "Fase"
|
||||
#define TR_MIXWARNING "Aviso"
|
||||
@@ -713,9 +715,9 @@
|
||||
#define TR_CHANNELS_MONITOR "CHANNELS MONITOR"
|
||||
#define TR_PATH_TOO_LONG "Path too long"
|
||||
#define TR_VIEW_TEXT "View text"
|
||||
#define TR_FLASH_BOOTLOADER "Flash BootLoader"
|
||||
#define TR_WRITING "\032Writing..."
|
||||
#define TR_CONFIRM_FORMAT "Confirm Format?"
|
||||
#define TR_FLASH_BOOTLOADER "Flash BootLoader"
|
||||
#define TR_WRITING "\032Writing..."
|
||||
#define TR_CONFIRM_FORMAT "Confirm Format?"
|
||||
#define TR_INTERNALRF "Internal RF"
|
||||
#define TR_EXTERNALRF "External RF"
|
||||
#define TR_FAILSAFE "Failsafe mode"
|
||||
@@ -760,7 +762,7 @@
|
||||
#define TR_MIRROR "Mirror"
|
||||
#define TR_CLEAR "Clear"
|
||||
#define TR_RESET "Reset"
|
||||
#define TR_RESET_SUBMENU "Reset..."
|
||||
#define TR_RESET_SUBMENU "Reset..."
|
||||
#define TR_COUNT "Count"
|
||||
#define TR_PT "pt"
|
||||
#define TR_PTS "pts"
|
||||
|
||||
@@ -34,10 +34,11 @@
|
||||
* !!!!! DO NOT EDIT se.h - EDIT se.h.txt INSTEAD !!!!!!!
|
||||
*/
|
||||
/* Formatting octal codes available in TR_ strings:
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \036 -newline
|
||||
* \001 to \035 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
* \037\x -sets LCD x-coord (x value in octal)
|
||||
* \n -newline
|
||||
* \t -horizontal tab (ARM only)
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
* \0 -ends actual string
|
||||
*/
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
@@ -187,9 +188,9 @@
|
||||
|
||||
#define LEN_VCSWFUNC "\005"
|
||||
#if defined(CPUARM)
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""Δ}x\0 ""|Δ|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#else
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a{x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#define TR_VCSWFUNC "---\0 " TR_CSWEQUAL "a~x\0 ""a>x\0 ""a<x\0 " TR_CSWRANGE "|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 " TR_CSWSTAY "a=b\0 ""a>b\0 ""a<b\0 ""^}x\0 ""|^|}x" TR_CSWTIMER TR_CSWSTICKY
|
||||
#endif
|
||||
|
||||
#define LEN_VFSWFUNC "\012"
|
||||
@@ -423,7 +424,7 @@
|
||||
#define TR_VTRAINERMODES "Lärare""Elev\0."
|
||||
|
||||
#define LEN_VFAILSAFE "\011"
|
||||
#define TR_VFAILSAFE "Lås Servo""Anpassat\0""Pulsfritt""Receiver\0"
|
||||
#define TR_VFAILSAFE "Lås Servo""Anpassat\0""Pulsfritt""Mottagare"
|
||||
|
||||
#if defined(MAVLINK)
|
||||
#define LEN_MAVLINK_BAUDS "\006"
|
||||
@@ -439,6 +440,7 @@
|
||||
#define LEN_INDENT 1
|
||||
#define INDENT_WIDTH (FW/2)
|
||||
|
||||
|
||||
#if defined(PCBTARANIS)
|
||||
#define TR_ENTER "[ENTER]"
|
||||
#else
|
||||
@@ -501,6 +503,7 @@
|
||||
#define TR_OFFSET INDENT"Offset"
|
||||
#define TR_TRIM "Trim"
|
||||
#define TR_DREX "DRex"
|
||||
#define DREX_CHBOX_OFFSET 30
|
||||
#define TR_CURVE "Kurva"
|
||||
#define TR_FLMODE TR("Läge","Flyglägen")
|
||||
#define TR_MIXWARNING "Varning"
|
||||
@@ -639,7 +642,7 @@
|
||||
#define TR_PITCH_AT_ZERO INDENT "Ton vid Noll"
|
||||
#define TR_PITCH_AT_MAX INDENT "Ton vid Max"
|
||||
#define TR_REPEAT_AT_ZERO INDENT "Repetera vid Noll"
|
||||
#define TR_SHUTDOWN "STäNGER AV"
|
||||
#define TR_SHUTDOWN "STÄNGER AV"
|
||||
#define TR_BATT_CALIB "Kalib. Batteri"
|
||||
#define TR_CURRENT_CALIB "Kalib. Ström"
|
||||
#define TR_VOLTAGE INDENT"Volt"
|
||||
@@ -713,9 +716,9 @@
|
||||
#define TR_CHANNELS_MONITOR "Kanalöversikt"
|
||||
#define TR_PATH_TOO_LONG "För lång sökväg"
|
||||
#define TR_VIEW_TEXT "Visa Text"
|
||||
#define TR_FLASH_BOOTLOADER "Flash BootLoader"
|
||||
#define TR_WRITING "\032Writing..."
|
||||
#define TR_CONFIRM_FORMAT "Confirm Format?"
|
||||
#define TR_FLASH_BOOTLOADER "Skriv BootLoader"
|
||||
#define TR_WRITING "\032Skriver..."
|
||||
#define TR_CONFIRM_FORMAT "Formatera Minnet?"
|
||||
#define TR_INTERNALRF "Intern Radio"
|
||||
#define TR_EXTERNALRF "Extern Radiomodul"
|
||||
#define TR_FAILSAFE "Failsafeläge"
|
||||
@@ -760,12 +763,12 @@
|
||||
#define TR_MIRROR "Spegla"
|
||||
#define TR_CLEAR "Töm"
|
||||
#define TR_RESET "Nollställ"
|
||||
#define TR_RESET_SUBMENU "Reset..."
|
||||
#define TR_RESET_SUBMENU "Nollställ..."
|
||||
#define TR_COUNT "Antal"
|
||||
#define TR_PT "pt"
|
||||
#define TR_PTS "pkt"
|
||||
#define TR_SMOOTH "Mjuk"
|
||||
#define TR_COPY_TRIMS_TO_OFS "Spara trimmar som offset"
|
||||
#define TR_COPY_TRIMS_TO_OFS "Spara trimmar som offset"
|
||||
#define TR_PERSISTENT_MAH INDENT "Lagra mAh"
|
||||
#define TR_PREFLIGHT "Startkontroller"
|
||||
#define TR_CHECKLIST INDENT "Visa checklisa"
|
||||
@@ -774,7 +777,7 @@
|
||||
#define TR_SCRIPT "Programkod"
|
||||
#define TR_INPUTS "Input"
|
||||
#define TR_OUTPUTS "Outputs"
|
||||
#define TR_EEBACKUP "\004[ENTER Long] to backup the EEPROM"
|
||||
#define TR_EEBACKUP "\004[ENTER Lång] säkerhetskopiera EEPROM"
|
||||
|
||||
#if defined(MAVLINK)
|
||||
#define TR_MAVLINK_RC_RSSI_SCALE_LABEL "Max RSSI"
|
||||
|
||||
Reference in New Issue
Block a user