1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-23 16:25:12 +03:00

Fixes #2807: Telemetry sensor names were not displayed

This commit is contained in:
Damjan Adamic 2015-08-30 21:09:35 +02:00
parent 09b2cd7b46
commit 8999839538
2 changed files with 2 additions and 1 deletions

View file

@ -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>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>
Telemerty sensor names were not displayed#2807
</ul>

View file

@ -897,7 +897,7 @@ QString CustomFunctionData::paramToString(const ModelData * model) const
}
else if ((func==FuncVolume)|| (func==FuncPlayValue)) {
RawSource item(param);
return item.toString();
return item.toString(model);
}
else if ((func==FuncPlayPrompt) || (func==FuncPlayBoth)) {
if ( GetCurrentFirmware()->getCapability(VoicesAsNumbers)) {