Issue 43 fixed. Who wants to test? I didn't do it myself! Thanks in advance!

This commit is contained in:
bsongis@gmail.com
2013-05-31 20:23:06 +00:00
parent c9171c6d79
commit a8f99b1b61
+4 -1
View File
@@ -44,7 +44,10 @@ uint16_t getChannelRatio(uint8_t channel)
lcdint_t applyChannelRatio(uint8_t channel, lcdint_t val)
{
return ((int32_t)val+g_model.frsky.channels[channel].offset) * getChannelRatio(channel) * 2 / 51;
if (TELEMETRY_STREAMING())
return ((int32_t)val+g_model.frsky.channels[channel].offset) * getChannelRatio(channel) * 2 / 51;
else
return 0;
}
#endif