[Taranis] Failsafe modes NOPULSES and HOLD should be ok on channels 9-16
This commit is contained in:
@@ -205,7 +205,7 @@ void setupPulsesPXX(unsigned int port)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (i < sendUpperChannels)
|
if (i < sendUpperChannels)
|
||||||
chan = limit(2048, PPM_CH_CENTER(8+g_model.moduleData[port].channelsStart+i) - PPM_CENTER + (channelOutputs[8+g_model.moduleData[port].channelsStart+i] * 512 / 682) + 3072, 4095);
|
chan = limit(2049, PPM_CH_CENTER(8+g_model.moduleData[port].channelsStart+i) - PPM_CENTER + (channelOutputs[8+g_model.moduleData[port].channelsStart+i] * 512 / 682) + 3072, 4094);
|
||||||
else if (i < NUM_CHANNELS(port))
|
else if (i < NUM_CHANNELS(port))
|
||||||
chan = limit(1, PPM_CH_CENTER(g_model.moduleData[port].channelsStart+i) - PPM_CENTER + (channelOutputs[g_model.moduleData[port].channelsStart+i] * 512 / 682) + 1024, 2046);
|
chan = limit(1, PPM_CH_CENTER(g_model.moduleData[port].channelsStart+i) - PPM_CENTER + (channelOutputs[g_model.moduleData[port].channelsStart+i] * 512 / 682) + 1024, 2046);
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user