Fixes #2807: Telemetry sensor names were not displayed
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
<li>Added used channels check/warning in Wizard (<a href=https://github.com/opentx/opentx/issues/2091>#2091</a>)</li>
|
<li>Added used channels check/warning in Wizard (<a href=https://github.com/opentx/opentx/issues/2091>#2091</a>)</li>
|
||||||
<li>Model Print and Model Compare improvements and fixes (<a href=https://github.com/opentx/opentx/issues/2734>#2734</a>, <a href=https://github.com/opentx/opentx/issues/2737>#2737</a>, <a href=https://github.com/opentx/opentx/issues/2576>#2576</a>)</li>
|
<li>Model Print and Model Compare improvements and fixes (<a href=https://github.com/opentx/opentx/issues/2734>#2734</a>, <a href=https://github.com/opentx/opentx/issues/2737>#2737</a>, <a href=https://github.com/opentx/opentx/issues/2576>#2576</a>)</li>
|
||||||
<li>Negative telemetry offset value was reset when writing back to radio (<a href=https://github.com/opentx/opentx/issues/2738>#2738</a>)</li>
|
<li>Negative telemetry offset value was reset when writing back to radio (<a href=https://github.com/opentx/opentx/issues/2738>#2738</a>)</li>
|
||||||
|
Telemerty sensor names were not displayed#2807
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -897,7 +897,7 @@ QString CustomFunctionData::paramToString(const ModelData * model) const
|
|||||||
}
|
}
|
||||||
else if ((func==FuncVolume)|| (func==FuncPlayValue)) {
|
else if ((func==FuncVolume)|| (func==FuncPlayValue)) {
|
||||||
RawSource item(param);
|
RawSource item(param);
|
||||||
return item.toString();
|
return item.toString(model);
|
||||||
}
|
}
|
||||||
else if ((func==FuncPlayPrompt) || (func==FuncPlayBoth)) {
|
else if ((func==FuncPlayPrompt) || (func==FuncPlayBoth)) {
|
||||||
if ( GetCurrentFirmware()->getCapability(VoicesAsNumbers)) {
|
if ( GetCurrentFirmware()->getCapability(VoicesAsNumbers)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user