Subversion Repositories FlightCtrl

Rev

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

Rev 1775 Rev 1796
Line 172... Line 172...
172
    looping = 0;
172
    looping = 0;
173
  }
173
  }
Line 174... Line 174...
174
 
174
 
Line 175... Line 175...
175
  // part1a end.
175
  // part1a end.
176
 
176
 
177
  /* This is not really necessary with the pull-towards-zero of all sticks (see rc.c)
177
  /* This is not really necessary with the dead-gap feature on all sticks (see rc.c)
178
  if(staticParams.GlobalConfig & (CFG_COMPASS_ACTIVE | CFG_GPS_ACTIVE)) {
178
  if(staticParams.GlobalConfig & (CFG_COMPASS_ACTIVE | CFG_GPS_ACTIVE)) {
179
    if (controlYaw > 2) controlYaw-= 2;
179
    if (controlYaw > 2) controlYaw-= 2;
180
    else if (controlYaw< -2) controlYaw += 2;
180
    else if (controlYaw< -2) controlYaw += 2;