5,6 → 5,7 |
#define RXD_BUFFER_LEN 180 |
|
#include <inttypes.h> |
#include "ubx.h" |
|
//Baud rate of the USART |
#define USART0_BAUD 57600 |
20,10 → 21,17 |
extern uint8_t motorTest[16]; |
|
typedef struct { |
int16_t anglePitch; // in 0.1 deg |
int16_t angleRoll; // in 0.1 deg |
int16_t heading; // in 0.1 deg |
uint8_t reserved[8]; |
int16_t anglePitch; // in 0.1 deg |
int16_t angleRoll; // in 0.1 deg |
int16_t heading; // in 0.1 deg |
uint8_t reserved[8]; |
}__attribute__((packed)) Data3D_t; |
|
typedef struct { |
Data3D_t attitude; |
GPS_INFO_t GPSInfo; |
int32_t airpressureHeight; |
int16_t batteryVoltage; |
}__attribute__((packed)) OSDData_t; |
|
#endif //_UART0_H |