Subversion Repositories FlightCtrl

Rev

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

Rev 1036 Rev 1038
Line 156... Line 156...
156
SIGNAL(SIG_OUTPUT_COMPARE2A)
156
SIGNAL(SIG_OUTPUT_COMPARE2A)
157
{
157
{
158
  static unsigned char postPulse = 0x80;
158
  static unsigned char postPulse = 0x80;
159
  static int filterServo = 100;
159
  static int filterServo = 100;
160
  #define MULTIPLIER 4
160
  #define MULTIPLIER 4
161
 if(PlatinenVersion < 20)
161
 if(PlatinenVersion < 99)
162
 {
162
 {
163
  if(ServoState == 4)  
163
  if(ServoState == 4)  
164
    {
164
    {
165
     ServoValue = 0x0030;  // Offset Part1
165
     ServoValue = 0x0030;  // Offset Part1
166
     filterServo = (filterServo * 3 + (int) Parameter_ServoNickControl * 2)/4;
166
     filterServo = (filterServo * 3 + (int) Parameter_ServoNickControl * 2)/4;