Subversion Repositories FlightCtrl

Rev

Rev 1639 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1639 Rev 1658
Line 183... Line 183...
183
        static unsigned int AltICR=0;
183
        static unsigned int AltICR=0;
184
    signed int signal = 0,tmp;
184
    signed int signal = 0,tmp;
185
        static int index;
185
        static int index;
Line 186... Line 186...
186
 
186
 
187
        signal = (unsigned int) ICR1 - AltICR;
-
 
188
//DebugOut.Analog[16] = signal;
187
        signal = (unsigned int) ICR1 - AltICR;
189
        signal /= 2;
188
        signal /= 2;
190
        AltICR = ICR1;
189
        AltICR = ICR1;
191
    //Syncronisationspause?
190
    //Syncronisationspause?
192
        if((signal > 1100*2) && (signal < 8000*2))
191
        if((signal > 1100*2) && (signal < 8000*2))