From b5933173607d1275675d24c232b35a29690502b1 Mon Sep 17 00:00:00 2001 From: "bsongis@gmail.com" Date: Wed, 29 May 2013 05:26:30 +0000 Subject: [PATCH] [Taranis] Failsafe modes NOPULSES and HOLD should be ok on channels 9-16 --- src/protocols/pxx_arm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/pxx_arm.cpp b/src/protocols/pxx_arm.cpp index 19030bdf1..f157aec1d 100644 --- a/src/protocols/pxx_arm.cpp +++ b/src/protocols/pxx_arm.cpp @@ -205,7 +205,7 @@ void setupPulsesPXX(unsigned int port) } else { 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)) 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