Subversion Repositories FlightCtrl

Rev

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

Rev 2087 Rev 2088
Line 493... Line 493...
493
  // We are done reading variables from the analog module.
493
  // We are done reading variables from the analog module.
494
  // Interrupt-driven sensor reading may restart.
494
  // Interrupt-driven sensor reading may restart.
495
  startAnalogConversionCycle();
495
  startAnalogConversionCycle();
Line 496... Line 496...
496
 
496
 
497
#ifdef USE_MK3MAG
497
#ifdef USE_MK3MAG
498
  if (staticParams.bitConfig & (CFG_COMPASS_ENABLED | CFG_GPS_ENABLED)) {
498
  if (staticParams.bitConfig & CFG_COMPASS_ENABLED) {
499
    correctHeadingToMagnetic();
499
    correctHeadingToMagnetic();
500
  }
500
  }
501
#endif
501
#endif