This commit is contained in:
bsongis
2014-05-28 10:46:36 +02:00
parent 9047238878
commit e8ce7c9350
+1 -1
View File
@@ -459,7 +459,7 @@ void telemetryInterrupt10ms()
#endif
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;
}