Fixes #1147
This commit is contained in:
@@ -459,7 +459,7 @@ void telemetryInterrupt10ms()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
channel = g_model.frsky.currentSource - FRSKY_CURRENT_SOURCE_A1;
|
channel = g_model.frsky.currentSource - FRSKY_CURRENT_SOURCE_A1;
|
||||||
if (channel <= MAX_FRSKY_A_CHANNELS) {
|
if (channel < MAX_FRSKY_A_CHANNELS) {
|
||||||
current = applyChannelRatio(channel, frskyData.analog[channel].value) / 10;
|
current = applyChannelRatio(channel, frskyData.analog[channel].value) / 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user