+12
@@ -2238,3 +2238,15 @@ Michael Jakob
|
|||||||
Dean Berg
|
Dean Berg
|
||||||
David Hankins
|
David Hankins
|
||||||
Gary Cripps
|
Gary Cripps
|
||||||
|
Devin Crumb
|
||||||
|
Daniel Naude
|
||||||
|
James Miller
|
||||||
|
Pascal Cayol
|
||||||
|
eDefine
|
||||||
|
Mario Sette
|
||||||
|
Hans-Georg Böhm
|
||||||
|
Robert Oats
|
||||||
|
Helmut Suhrbier
|
||||||
|
Johannes Vorster
|
||||||
|
Deon du Rand
|
||||||
|
Stephen Hill-Harriss
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ RawSourceRange RawSource::getRange(const ModelData * model, const GeneralSetting
|
|||||||
result.min = -30000 * result.step;
|
result.min = -30000 * result.step;
|
||||||
result.max = +30000 * result.step;
|
result.max = +30000 * result.step;
|
||||||
result.decimals = sensor.prec;
|
result.decimals = sensor.prec;
|
||||||
result.unit = SensorData::unitToString(qr.quot);
|
result.unit = sensor.unitToString();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -351,8 +351,11 @@ RawSource RawSource::convert(RadioDataConversionState & cstate)
|
|||||||
if (type == SOURCE_TYPE_SWITCH) {
|
if (type == SOURCE_TYPE_SWITCH) {
|
||||||
QStringList fromSwitchList(getSwitchList(cstate.fromBoard));
|
QStringList fromSwitchList(getSwitchList(cstate.fromBoard));
|
||||||
QStringList toSwitchList(getSwitchList(cstate.toBoard));
|
QStringList toSwitchList(getSwitchList(cstate.toBoard));
|
||||||
index = toSwitchList.indexOf(fromSwitchList.at(oldData.id));
|
|
||||||
// index set to -1 if no match found
|
// index set to -1 if no match found
|
||||||
|
if (oldData.id < fromSwitchList.count())
|
||||||
|
index = toSwitchList.indexOf(fromSwitchList.at(oldData.id));
|
||||||
|
else
|
||||||
|
index = -1;
|
||||||
// perform forced mapping
|
// perform forced mapping
|
||||||
if (index < 0) {
|
if (index < 0) {
|
||||||
if (IS_TARANIS_X7(cstate.toType) && (IS_TARANIS_X9(cstate.fromType) || IS_FAMILY_HORUS_OR_T16(cstate.fromType))) {
|
if (IS_TARANIS_X7(cstate.toType) && (IS_TARANIS_X9(cstate.fromType) || IS_FAMILY_HORUS_OR_T16(cstate.fromType))) {
|
||||||
|
|||||||
@@ -191,7 +191,10 @@ RawSwitch RawSwitch::convert(RadioDataConversionState & cstate)
|
|||||||
QStringList fromSwitchList(getSwitchList(cstate.fromBoard));
|
QStringList fromSwitchList(getSwitchList(cstate.fromBoard));
|
||||||
QStringList toSwitchList(getSwitchList(cstate.toBoard));
|
QStringList toSwitchList(getSwitchList(cstate.toBoard));
|
||||||
// set to -1 if no match found
|
// set to -1 if no match found
|
||||||
newIdx = toSwitchList.indexOf(fromSwitchList.at(swtch.quot));
|
if (swtch.quot < fromSwitchList.count())
|
||||||
|
newIdx = toSwitchList.indexOf(fromSwitchList.at(swtch.quot));
|
||||||
|
else
|
||||||
|
newIdx = -1;
|
||||||
// perform forced mapping
|
// perform forced mapping
|
||||||
if (newIdx < 0) {
|
if (newIdx < 0) {
|
||||||
if (IS_TARANIS_X7(cstate.toType) && (IS_TARANIS_X9(cstate.fromType) || IS_FAMILY_HORUS_OR_T16(cstate.fromType))) {
|
if (IS_TARANIS_X7(cstate.toType) && (IS_TARANIS_X9(cstate.fromType) || IS_FAMILY_HORUS_OR_T16(cstate.fromType))) {
|
||||||
|
|||||||
@@ -75,9 +75,9 @@ QString SensorData::cellIndexToString() const
|
|||||||
return cellIndexToString(index);
|
return cellIndexToString(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString SensorData::unitToString() const
|
QString SensorData::unitToString(bool hideRaw) const
|
||||||
{
|
{
|
||||||
return unitToString(unit);
|
return unitToString(unit, hideRaw);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString SensorData::precToString() const
|
QString SensorData::precToString() const
|
||||||
@@ -342,11 +342,11 @@ QString SensorData::sourceToString(const ModelData * model, const int index, con
|
|||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
QString SensorData::unitToString(const int value)
|
QString SensorData::unitToString(const int value, bool hideRaw)
|
||||||
{
|
{
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case UNIT_RAW:
|
case UNIT_RAW:
|
||||||
return tr("Raw (-)");
|
return hideRaw ? QString() : tr("Raw (-)");
|
||||||
case UNIT_VOLTS:
|
case UNIT_VOLTS:
|
||||||
return tr("V");
|
return tr("V");
|
||||||
case UNIT_AMPS:
|
case UNIT_AMPS:
|
||||||
@@ -496,7 +496,7 @@ AbstractStaticItemModel * SensorData::unitItemModel()
|
|||||||
mdl->setName("sensordata.unit");
|
mdl->setName("sensordata.unit");
|
||||||
|
|
||||||
for (int i = 0; i <= UNIT_MAX; i++) {
|
for (int i = 0; i <= UNIT_MAX; i++) {
|
||||||
QString str = unitToString(i);
|
QString str = unitToString(i, false);
|
||||||
if (str != CPN_STR_UNKNOWN_ITEM)
|
if (str != CPN_STR_UNKNOWN_ITEM)
|
||||||
mdl->appendToItemList(str, i);
|
mdl->appendToItemList(str, i);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ class SensorData {
|
|||||||
QString typeToString() const;
|
QString typeToString() const;
|
||||||
QString formulaToString() const;
|
QString formulaToString() const;
|
||||||
QString cellIndexToString() const;
|
QString cellIndexToString() const;
|
||||||
QString unitToString() const;
|
QString unitToString(bool hideRaw = true) const;
|
||||||
QString precToString() const;
|
QString precToString() const;
|
||||||
int getMask() const;
|
int getMask() const;
|
||||||
QString paramsToString(const ModelData * model) const;
|
QString paramsToString(const ModelData * model) const;
|
||||||
@@ -203,7 +203,7 @@ class SensorData {
|
|||||||
static QString typeToString(const int value);
|
static QString typeToString(const int value);
|
||||||
static QString formulaToString(const int value);
|
static QString formulaToString(const int value);
|
||||||
static QString cellIndexToString(const int value);
|
static QString cellIndexToString(const int value);
|
||||||
static QString unitToString(const int value);
|
static QString unitToString(const int value, bool hideRaw = true);
|
||||||
static QString precToString(const int value);
|
static QString precToString(const int value);
|
||||||
static bool isRssiSensorAvailable(const ModelData * model, const int value);
|
static bool isRssiSensorAvailable(const ModelData * model, const int value);
|
||||||
static QString rssiSensorToString(const ModelData * model, const int value);
|
static QString rssiSensorToString(const ModelData * model, const int value);
|
||||||
|
|||||||
@@ -1631,7 +1631,7 @@ Si vous avez un fichier de sauvegarde des paramètres, vous pouvez l'import
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/customfunctiondata.cpp" line="67"/>
|
<location filename="../firmwares/customfunctiondata.cpp" line="67"/>
|
||||||
<source>Trainer Sticks</source>
|
<source>Trainer Sticks</source>
|
||||||
<translation>Manches Écolage</translation>
|
<translation>Écolage Manches</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/customfunctiondata.cpp" line="69"/>
|
<location filename="../firmwares/customfunctiondata.cpp" line="69"/>
|
||||||
@@ -1656,7 +1656,7 @@ Si vous avez un fichier de sauvegarde des paramètres, vous pouvez l'import
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/customfunctiondata.cpp" line="77"/>
|
<location filename="../firmwares/customfunctiondata.cpp" line="77"/>
|
||||||
<source>Trainer Channels</source>
|
<source>Trainer Channels</source>
|
||||||
<translation>Écolage Channels</translation>
|
<translation>Écolage Canaux</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/customfunctiondata.cpp" line="79"/>
|
<location filename="../firmwares/customfunctiondata.cpp" line="79"/>
|
||||||
@@ -2233,7 +2233,7 @@ Si vous avez un fichier de sauvegarde des paramètres, vous pouvez l'import
|
|||||||
<translation>OpenTX ne supporte pas cette fonction sur cette carte</translation>
|
<translation>OpenTX ne supporte pas cette fonction sur cette carte</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/opentx/opentxeeprom.cpp" line="2232"/>
|
<location filename="../firmwares/opentx/opentxeeprom.cpp" line="2233"/>
|
||||||
<source>OpenTX doesn't accept this radio protocol</source>
|
<source>OpenTX doesn't accept this radio protocol</source>
|
||||||
<translation>OpenTX ne supporte pas ce protocole radio</translation>
|
<translation>OpenTX ne supporte pas ce protocole radio</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -8975,28 +8975,33 @@ Mixage actif par défaut si non-renseigné.</translation>
|
|||||||
<translation>Maître/Multi</translation>
|
<translation>Maître/Multi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup_module.ui" line="1096"/>
|
<location filename="../modeledit/setup_module.ui" line="1083"/>
|
||||||
<source>Disable Telemetry</source>
|
<source>Disable Telemetry</source>
|
||||||
<translation>Désactiver la télémétrie</translation>
|
<translation>Désactiver la télémétrie</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup_module.ui" line="1103"/>
|
<location filename="../modeledit/setup_module.ui" line="1090"/>
|
||||||
|
<source>Racing Mode</source>
|
||||||
|
<translation>Mode Course/Racing</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../modeledit/setup_module.ui" line="1110"/>
|
||||||
<source>Disable Ch. Map</source>
|
<source>Disable Ch. Map</source>
|
||||||
<translation>Désactiver "Mapping" des VOIES</translation>
|
<translation>Désactiver "Mapping" des VOIES</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup_module.ui" line="1171"/>
|
<location filename="../modeledit/setup_module.ui" line="1178"/>
|
||||||
<source>Show values in:</source>
|
<source>Show values in:</source>
|
||||||
<translation>Afficher les valeurs en:</translation>
|
<translation>Afficher les valeurs en:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup_module.ui" line="1178"/>
|
<location filename="../modeledit/setup_module.ui" line="1185"/>
|
||||||
<source>%</source>
|
<source>%</source>
|
||||||
<extracomment>abbreviation for percent</extracomment>
|
<extracomment>abbreviation for percent</extracomment>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup_module.ui" line="1191"/>
|
<location filename="../modeledit/setup_module.ui" line="1198"/>
|
||||||
<source>μs</source>
|
<source>μs</source>
|
||||||
<extracomment>abbreviation for microseconds</extracomment>
|
<extracomment>abbreviation for microseconds</extracomment>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
@@ -9084,7 +9089,7 @@ Mixage actif par défaut si non-renseigné.</translation>
|
|||||||
<translation>ID d'enregistrement</translation>
|
<translation>ID d'enregistrement</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup_module.ui" line="1129"/>
|
<location filename="../modeledit/setup_module.ui" line="1136"/>
|
||||||
<source>Failsafe Positions</source>
|
<source>Failsafe Positions</source>
|
||||||
<translation>Positions Failsafe</translation>
|
<translation>Positions Failsafe</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -9137,100 +9142,100 @@ Mixage actif par défaut si non-renseigné.</translation>
|
|||||||
<translation>Négative</translation>
|
<translation>Négative</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="131"/>
|
<location filename="../firmwares/moduledata.cpp" line="118"/>
|
||||||
<source>Trainer Port</source>
|
<source>Trainer Port</source>
|
||||||
<translation>Port écolage</translation>
|
<translation>Port écolage</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="135"/>
|
<location filename="../firmwares/moduledata.cpp" line="122"/>
|
||||||
<source>Internal Radio System</source>
|
<source>Internal Radio System</source>
|
||||||
<translation>Module HF interne</translation>
|
<translation>Module HF interne</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="135"/>
|
<location filename="../firmwares/moduledata.cpp" line="122"/>
|
||||||
<source>External Radio Module</source>
|
<source>External Radio Module</source>
|
||||||
<translation>Module HF externe</translation>
|
<translation>Module HF externe</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="137"/>
|
<location filename="../firmwares/moduledata.cpp" line="124"/>
|
||||||
<source>Extra Radio System</source>
|
<source>Extra Radio System</source>
|
||||||
<translation>Module HF supplémentaire</translation>
|
<translation>Module HF supplémentaire</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="139"/>
|
<location filename="../firmwares/moduledata.cpp" line="126"/>
|
||||||
<source>Radio System</source>
|
<source>Radio System</source>
|
||||||
<translation>Module HF</translation>
|
<translation>Module HF</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="175"/>
|
<location filename="../firmwares/moduledata.cpp" line="162"/>
|
||||||
<source>10mW - 16CH</source>
|
<source>10mW - 16CH</source>
|
||||||
<translation>10mW - 16 VOIES</translation>
|
<translation>10mW - 16 VOIES</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="175"/>
|
<location filename="../firmwares/moduledata.cpp" line="162"/>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="177"/>
|
<location filename="../firmwares/moduledata.cpp" line="164"/>
|
||||||
<source>100mW - 16CH</source>
|
<source>100mW - 16CH</source>
|
||||||
<translation>100mW - 16 VOIES</translation>
|
<translation>100mW - 16 VOIES</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="175"/>
|
<location filename="../firmwares/moduledata.cpp" line="162"/>
|
||||||
<source>500mW - 16CH</source>
|
<source>500mW - 16CH</source>
|
||||||
<translation>500mW - 16 VOIES</translation>
|
<translation>500mW - 16 VOIES</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="175"/>
|
<location filename="../firmwares/moduledata.cpp" line="162"/>
|
||||||
<source>Auto <= 1W - 16CH</source>
|
<source>Auto <= 1W - 16CH</source>
|
||||||
<translation>Auto <= 1W - 16 VOIES</translation>
|
<translation>Auto <= 1W - 16 VOIES</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="176"/>
|
<location filename="../firmwares/moduledata.cpp" line="163"/>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="178"/>
|
<location filename="../firmwares/moduledata.cpp" line="165"/>
|
||||||
<source>25mW - 8CH</source>
|
<source>25mW - 8CH</source>
|
||||||
<translation>25mW - 8 VOIES</translation>
|
<translation>25mW - 8 VOIES</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="176"/>
|
<location filename="../firmwares/moduledata.cpp" line="163"/>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="178"/>
|
<location filename="../firmwares/moduledata.cpp" line="165"/>
|
||||||
<source>25mW - 16CH</source>
|
<source>25mW - 16CH</source>
|
||||||
<translation>25mW - 16 VOIES</translation>
|
<translation>25mW - 16 VOIES</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="176"/>
|
<location filename="../firmwares/moduledata.cpp" line="163"/>
|
||||||
<source>200mW - 16CH (no telemetry)</source>
|
<source>200mW - 16CH (no telemetry)</source>
|
||||||
<translation>200mW - 16 VOIES (pas de télémétrie)</translation>
|
<translation>200mW - 16 VOIES (pas de télémétrie)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="176"/>
|
<location filename="../firmwares/moduledata.cpp" line="163"/>
|
||||||
<source>500mW - 16CH (no telemetry)</source>
|
<source>500mW - 16CH (no telemetry)</source>
|
||||||
<translation>500mW - 16 VOIES (pas de télémétrie)</translation>
|
<translation>500mW - 16 VOIES (pas de télémétrie)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="178"/>
|
<location filename="../firmwares/moduledata.cpp" line="165"/>
|
||||||
<source>100mW - 16CH (no telemetry)</source>
|
<source>100mW - 16CH (no telemetry)</source>
|
||||||
<translation>100mW - 16 VOIES (pas de télémétrie)</translation>
|
<translation>100mW - 16 VOIES (pas de télémétrie)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="181"/>
|
<location filename="../firmwares/moduledata.cpp" line="168"/>
|
||||||
<source>25 mW</source>
|
<source>25 mW</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="181"/>
|
<location filename="../firmwares/moduledata.cpp" line="168"/>
|
||||||
<source>100 mW</source>
|
<source>100 mW</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="181"/>
|
<location filename="../firmwares/moduledata.cpp" line="168"/>
|
||||||
<source>500 mW</source>
|
<source>500 mW</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="181"/>
|
<location filename="../firmwares/moduledata.cpp" line="168"/>
|
||||||
<source>1 W</source>
|
<source>1 W</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../firmwares/moduledata.cpp" line="181"/>
|
<location filename="../firmwares/moduledata.cpp" line="168"/>
|
||||||
<source>2 W</source>
|
<source>2 W</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -9238,42 +9243,42 @@ Mixage actif par défaut si non-renseigné.</translation>
|
|||||||
<context>
|
<context>
|
||||||
<name>ModulePanel</name>
|
<name>ModulePanel</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="325"/>
|
<location filename="../modeledit/setup.cpp" line="326"/>
|
||||||
<source>Value</source>
|
<source>Value</source>
|
||||||
<translation>Valeur</translation>
|
<translation>Valeur</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="326"/>
|
<location filename="../modeledit/setup.cpp" line="327"/>
|
||||||
<source>Hold</source>
|
<source>Hold</source>
|
||||||
<translation>Maintien</translation>
|
<translation>Maintien</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="327"/>
|
<location filename="../modeledit/setup.cpp" line="328"/>
|
||||||
<source>No Pulse</source>
|
<source>No Pulse</source>
|
||||||
<translation>Pas d'impulsion</translation>
|
<translation>Pas d'impulsion</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="505"/>
|
<location filename="../modeledit/setup.cpp" line="506"/>
|
||||||
<source>Ask</source>
|
<source>Ask</source>
|
||||||
<translation>Demander</translation>
|
<translation>Demander</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="506"/>
|
<location filename="../modeledit/setup.cpp" line="507"/>
|
||||||
<source>Internal</source>
|
<source>Internal</source>
|
||||||
<translation>Interne</translation>
|
<translation>Interne</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="507"/>
|
<location filename="../modeledit/setup.cpp" line="508"/>
|
||||||
<source>Internal + External</source>
|
<source>Internal + External</source>
|
||||||
<translation>Interne + Externe</translation>
|
<translation>Interne + Externe</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="507"/>
|
<location filename="../modeledit/setup.cpp" line="508"/>
|
||||||
<source>External</source>
|
<source>External</source>
|
||||||
<translation>Externe</translation>
|
<translation>Externe</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="568"/>
|
<location filename="../modeledit/setup.cpp" line="577"/>
|
||||||
<source>Bind on channel</source>
|
<source>Bind on channel</source>
|
||||||
<translation>Bind avec VOIE</translation>
|
<translation>Bind avec VOIE</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -11031,87 +11036,87 @@ Si cette option est cochée, la voie des gaz est inversée: le ralenti est &apo
|
|||||||
<context>
|
<context>
|
||||||
<name>SetupPanel</name>
|
<name>SetupPanel</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1092"/>
|
<location filename="../modeledit/setup.cpp" line="1106"/>
|
||||||
<source>Popup menu available</source>
|
<source>Popup menu available</source>
|
||||||
<translation>Menu contextuel disponible</translation>
|
<translation>Menu contextuel disponible</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1108"/>
|
<location filename="../modeledit/setup.cpp" line="1122"/>
|
||||||
<source>Timer %1</source>
|
<source>Timer %1</source>
|
||||||
<translation>Chrono %1</translation>
|
<translation>Chrono %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1555"/>
|
<location filename="../modeledit/setup.cpp" line="1569"/>
|
||||||
<source>Profile Settings</source>
|
<source>Profile Settings</source>
|
||||||
<translation>Paramètres du profil</translation>
|
<translation>Paramètres du profil</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1555"/>
|
<location filename="../modeledit/setup.cpp" line="1569"/>
|
||||||
<source>SD structure path not specified or invalid</source>
|
<source>SD structure path not specified or invalid</source>
|
||||||
<translation>Chemin de la structure SD non spécifié ou invalide</translation>
|
<translation>Chemin de la structure SD non spécifié ou invalide</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1570"/>
|
<location filename="../modeledit/setup.cpp" line="1584"/>
|
||||||
<source>Copy</source>
|
<source>Copy</source>
|
||||||
<translation>Copier</translation>
|
<translation>Copier</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1571"/>
|
<location filename="../modeledit/setup.cpp" line="1585"/>
|
||||||
<source>Cut</source>
|
<source>Cut</source>
|
||||||
<translation>Couper</translation>
|
<translation>Couper</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1572"/>
|
<location filename="../modeledit/setup.cpp" line="1586"/>
|
||||||
<source>Paste</source>
|
<source>Paste</source>
|
||||||
<translation>Coller</translation>
|
<translation>Coller</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1573"/>
|
<location filename="../modeledit/setup.cpp" line="1587"/>
|
||||||
<source>Clear</source>
|
<source>Clear</source>
|
||||||
<translation>Effacer</translation>
|
<translation>Effacer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1575"/>
|
<location filename="../modeledit/setup.cpp" line="1589"/>
|
||||||
<source>Insert</source>
|
<source>Insert</source>
|
||||||
<translation>Insérer</translation>
|
<translation>Insérer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1576"/>
|
<location filename="../modeledit/setup.cpp" line="1590"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation>Supprimer</translation>
|
<translation>Supprimer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1577"/>
|
<location filename="../modeledit/setup.cpp" line="1591"/>
|
||||||
<source>Move Up</source>
|
<source>Move Up</source>
|
||||||
<translation>Monter</translation>
|
<translation>Monter</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1578"/>
|
<location filename="../modeledit/setup.cpp" line="1592"/>
|
||||||
<source>Move Down</source>
|
<source>Move Down</source>
|
||||||
<translation>Descendre</translation>
|
<translation>Descendre</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1580"/>
|
<location filename="../modeledit/setup.cpp" line="1594"/>
|
||||||
<source>Clear All</source>
|
<source>Clear All</source>
|
||||||
<translation>Effacer Tout</translation>
|
<translation>Effacer Tout</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1615"/>
|
<location filename="../modeledit/setup.cpp" line="1629"/>
|
||||||
<source>Clear Timer. Are you sure?</source>
|
<source>Clear Timer. Are you sure?</source>
|
||||||
<translation>Effacer le Chrono. Êtes-vous sûr?</translation>
|
<translation>Effacer le Chrono. Êtes-vous sûr?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1627"/>
|
<location filename="../modeledit/setup.cpp" line="1641"/>
|
||||||
<source>Clear all Timers. Are you sure?</source>
|
<source>Clear all Timers. Are you sure?</source>
|
||||||
<translation>Effacer tous les Chronos. Êtes-vous sûr?</translation>
|
<translation>Effacer tous les Chronos. Êtes-vous sûr?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1649"/>
|
<location filename="../modeledit/setup.cpp" line="1663"/>
|
||||||
<source>Cut Timer. Are you sure?</source>
|
<source>Cut Timer. Are you sure?</source>
|
||||||
<translation>Couper le Chrono. Êtes-vous sûr?</translation>
|
<translation>Couper le Chrono. Êtes-vous sûr?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../modeledit/setup.cpp" line="1657"/>
|
<location filename="../modeledit/setup.cpp" line="1671"/>
|
||||||
<source>Delete Timer. Are you sure?</source>
|
<source>Delete Timer. Are you sure?</source>
|
||||||
<translation>Supprimer le Chrono. Êtes-vous sûr?</translation>
|
<translation>Supprimer le Chrono. Êtes-vous sûr?</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ ModuleSyncStatus::ModuleSyncStatus()
|
|||||||
memset(this, 0, sizeof(ModuleSyncStatus));
|
memset(this, 0, sizeof(ModuleSyncStatus));
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModuleSyncStatus::update(uint16_t newRefreshRate, uint16_t newInputLag)
|
void ModuleSyncStatus::update(uint16_t newRefreshRate, int16_t newInputLag)
|
||||||
{
|
{
|
||||||
if (!newRefreshRate)
|
if (!newRefreshRate)
|
||||||
return;
|
return;
|
||||||
@@ -449,13 +449,12 @@ void ModuleSyncStatus::getRefreshString(char * statusText)
|
|||||||
char * tmp = statusText;
|
char * tmp = statusText;
|
||||||
#if defined(DEBUG)
|
#if defined(DEBUG)
|
||||||
*tmp++ = 'L';
|
*tmp++ = 'L';
|
||||||
tmp = strAppendUnsigned(tmp, inputLag, 5);
|
tmp = strAppendSigned(tmp, inputLag, 5);
|
||||||
tmp = strAppend(tmp, "us R ");
|
tmp = strAppend(tmp, "R");
|
||||||
tmp = strAppendUnsigned(tmp, (uint32_t) (refreshRate / 1000), 5);
|
tmp = strAppendUnsigned(tmp, refreshRate, 5);
|
||||||
tmp = strAppend(tmp, "us");
|
|
||||||
#else
|
#else
|
||||||
tmp = strAppend(tmp, "Sync at ");
|
tmp = strAppend(tmp, "Sync ");
|
||||||
tmp = strAppendUnsigned(tmp, (uint32_t) (refreshRate / 1000000));
|
tmp = strAppendUnsigned(tmp, refreshRate);
|
||||||
tmp = strAppend(tmp, " ms");
|
|
||||||
#endif
|
#endif
|
||||||
|
tmp = strAppend(tmp, "us");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ struct ModuleSyncStatus
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set feedback from RF module
|
// Set feedback from RF module
|
||||||
void update(uint16_t newRefreshRate, uint16_t newInputLag);
|
void update(uint16_t newRefreshRate, int16_t newInputLag);
|
||||||
|
|
||||||
// Get computed settings for scheduler
|
// Get computed settings for scheduler
|
||||||
uint16_t getAdjustedRefreshRate();
|
uint16_t getAdjustedRefreshRate();
|
||||||
|
|||||||
Reference in New Issue
Block a user