/branches/V0.68d Code Redesign killagreg/timer0.c |
---|
5,7 → 5,12 |
#include "analog.h" |
#include "main.h" |
#include "fc.h" |
#ifdef USE_MM3 |
#include "mm3.h" |
#endif |
#ifdef USE_CMPS03 |
#include "cmps03.h" |
#endif |
volatile uint16_t CountMilliseconds = 0; |
volatile uint8_t UpdateMotor = 0; |
138,7 → 143,12 |
// update compass value if this option is enabled in the settings |
if(ParamSet.GlobalConfig & CFG_COMPASS_ACTIVE) |
{ |
#ifdef USE_MM3 |
MM3_Update(); // read out mm3 board |
#endif |
#ifdef USE_CMPS03 |
CMPS03_Update(); // read out cmps03 pwm |
#endif |
} |
} |