Another limit was hardcoded in PPM pulses (ARM). We will live another

night with 150% limits ...
This commit is contained in:
bsongis
2014-04-02 16:09:19 +02:00
parent b8f97212cf
commit 3c3a5851f5
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
void setupPulsesPPM(unsigned int port) // Don't enable interrupts through here
{
int16_t PPM_range = g_model.extendedLimits ? 640 * 2 : 512 * 2; //range of 0.7..1.7msec
int16_t PPM_range = g_model.extendedLimits ? (512*LIMIT_EXT_PERCENT/100) * 2 : 512 * 2; //range of 0.7..1.7msec
// Total frame length = 22.5msec
// each pulse is 0.7..1.7ms long with a 0.3ms stop tail