/tags/V0.22c/main.h |
---|
0,0 → 1,34 |
#ifndef _MAIN_H_ |
#define _MAIN_H_ |
#include <avr/eeprom.h> |
#include <inttypes.h> |
typedef enum |
{ |
ATTITUDE_SOURCE_I2C = 0, |
ATTITUDE_SOURCE_UART = 1, |
ATTITUDE_SOURCE_ACC = 2 |
} AttitudeSource_t; |
typedef enum |
{ |
ORIENTATION_NC = 0, |
ORIENTATION_FC = 1 |
} Orientation_t; |
extern int16_t Heading; |
extern AttitudeSource_t AttitudeSource; |
extern Orientation_t Orientation; |
extern int16_t MagX, MagY, MagZ; |
void SetDebugValues(void); |
#endif //_MAIN_H_ |