Telemetry A3/A4 settings and alarms
This commit is contained in:
@@ -163,11 +163,6 @@ uint16_t getChannelRatio(uint8_t channel)
|
||||
|
||||
lcdint_t applyChannelRatio(uint8_t channel, lcdint_t val)
|
||||
{
|
||||
#if defined(CPUARM)
|
||||
// A3 and A4 don't have ratio settings
|
||||
if (channel > 1)
|
||||
return val;
|
||||
#endif
|
||||
return ((int32_t)val+g_model.frsky.channels[channel].offset) * getChannelRatio(channel) * 2 / 51;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user