Subversion Repositories FlightCtrl

Rev

Rev 886 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 886 Rev 908
Line 6... Line 6...
6
#include "main.h"
6
#include "main.h"
7
#include "fc.h"
7
#include "fc.h"
8
#ifdef USE_KILLAGREG
8
#ifdef USE_KILLAGREG
9
#include "mm3.h"
9
#include "mm3.h"
10
#endif
10
#endif
11
#if !defined (USE_KILLAGREG) && !defined (USE_NAVICTRL)
11
#ifdef USE_MK3MAG
12
#include "mk3mag.h"
12
#include "mk3mag.h"
13
#endif
13
#endif
Line 14... Line 14...
14
 
14
 
15
volatile uint16_t CountMilliseconds = 0;
15
volatile uint16_t CountMilliseconds = 0;
Line 152... Line 152...
152
        if(ParamSet.GlobalConfig & CFG_COMPASS_ACTIVE)
152
        if(ParamSet.GlobalConfig & CFG_COMPASS_ACTIVE)
153
        {
153
        {
154
        #ifdef USE_KILLAGREG
154
        #ifdef USE_KILLAGREG
155
                MM3_Update(); // read out mm3 board
155
                MM3_Update(); // read out mm3 board
156
        #endif
156
        #endif
157
        #if !defined (USE_KILLAGREG) && !defined (USE_NAVICTRL)
157
        #ifdef USE_MK3MAG
158
                MK3MAG_Update(); // read out mk3mag pwm
158
                MK3MAG_Update(); // read out mk3mag pwm
159
        #endif
159
        #endif
160
        }
160
        }
161
}
161
}