Subversion Repositories NaviCtrl

Rev

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

Rev 342 Rev 351
Line 156... Line 156...
156
{
156
{
157
static s16vec_t old;  
157
static s16vec_t old;  
158
static u32 check_value_counter = 0;
158
static u32 check_value_counter = 0;
159
        // check for new cal state
159
        // check for new cal state
160
        Compass_UpdateCalState();
160
        Compass_UpdateCalState();
-
 
161
        if(Compass_CalState) FC_is_Calibrated = 0;
161
        // initiate new compass communication
162
        // initiate new compass communication
162
        switch(Compass_Device)
163
        switch(Compass_Device)
163
        {
164
        {
164
                case COMPASS_MK3MAG:
165
                case COMPASS_MK3MAG:
165
                        MK3MAG_Update();
166
                        MK3MAG_Update();