Subversion Repositories NaviCtrl

Rev

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

Rev 293 Rev 310
Line 62... Line 62...
62
#include "mymath.h"
62
#include "mymath.h"
63
#include "uart1.h"
63
#include "uart1.h"
64
#include "fifo.h"
64
#include "fifo.h"
65
#include "led.h"
65
#include "led.h"
66
#include "main.h"
66
#include "main.h"
67
 
-
 
-
 
67
#include "ncmag.h"
Line 68... Line 68...
68
 
68
 
69
u8 CompassCalStateQueue[10];
69
u8 CompassCalStateQueue[10];
Line 70... Line 70...
70
fifo_t CompassCalcStateFiFo;
70
fifo_t CompassCalcStateFiFo;
Line 154... Line 154...
154
                case COMPASS_NCMAG:
154
                case COMPASS_NCMAG:
155
                        NCMAG_Update();
155
                        NCMAG_Update();
156
                default:
156
                default:
157
                        break;
157
                        break;
158
        }
158
        }
-
 
159
        DebugOut.Analog[24] = MagVector.X;
-
 
160
        DebugOut.Analog[25] = MagVector.Y;
-
 
161
        DebugOut.Analog[26] = MagVector.Z;
159
}
162
}
Line 160... Line 163...
160
 
163
 
161
// put cal state into fifo
164
// put cal state into fifo
162
void Compass_SetCalState(u8 CalState)
165
void Compass_SetCalState(u8 CalState)