Subversion Repositories FlightCtrl

Rev

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

Rev 2051 Rev 2052
Line 9... Line 9...
9
#include "mk3mag.h"
9
#include "mk3mag.h"
Line 10... Line 10...
10
 
10
 
11
// for Delay functions
11
// for Delay functions
Line 12... Line -...
12
#include "timer0.h"
-
 
13
 
-
 
14
// For debugOut
-
 
15
#include "uart0.h"
12
#include "timer0.h"
16
 
13
 
Line 17... Line 14...
17
// For reading and writing acc. meter offsets.
14
// For reading and writing acc. meter offsets.
18
#include "eeprom.h"
15
#include "eeprom.h"
Line 19... Line 16...
19
 
16
 
20
// For debugOut.digital
17
// For debugOut
Line 490... Line 487...
490
void analog_update(void) {
487
void analog_update(void) {
491
  analog_updateGyros();
488
  analog_updateGyros();
492
  analog_updateAccelerometers();
489
  analog_updateAccelerometers();
493
  analog_updateAirPressure();
490
  analog_updateAirPressure();
494
  analog_updateBatteryVoltage();
491
  analog_updateBatteryVoltage();
-
 
492
#ifdef USE_MK3MAG
495
  debugOut.analog[12] = magneticHeading = volatileMagneticHeading;
493
  debugOut.analog[12] = magneticHeading = volatileMagneticHeading;
-
 
494
#endif
496
}
495
}
Line 497... Line 496...
497
 
496
 
498
void analog_setNeutral() {
497
void analog_setNeutral() {