Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1954 → Rev 1955

/branches/dongfang_FC_rewrite/uart0.c
107,7 → 107,7
int16_t Heading;
}__attribute__((packed)) Heading_t;
 
DebugOut_t DebugOut;
DebugOut_t debugOut;
Data3D_t Data3D;
UART_VersionInfo_t UART_VersionInfo;
 
129,8 → 129,8
"GyroPitch(PID) ",
"GyroRoll(PID) ",
"GyroYaw ", //5
"GYRO_RATE_FACTOR",
"GYRO_RATE_FACTOR",
"AccPitch (raw) ",
"AccRoll (raw) ",
"AttitudeControl ",
"AccPitch (angle)",
"AccRoll (angle) ", //10
137,11 → 137,11
"UBat ",
"Pitch Term ",
"Roll Term ",
"controlActivity ",
"Yaw Term ",
"ca debug ", //15
"0th O Corr pitch",
"0th O Corr roll ",
"unused ",
"gyroP ",
"gyroI ",
"gyroD ",
"unused ",
"dHeightThrottle ", //20
"hoverThrottle ",
707,7 → 707,7
 
if (((DebugData_Interval && checkDelay(DebugData_Timer)) || request_DebugData)
&& txd_complete) {
SendOutData('D', FC_ADDRESS, 1, (uint8_t *) &DebugOut, sizeof(DebugOut));
SendOutData('D', FC_ADDRESS, 1, (uint8_t *) &debugOut, sizeof(debugOut));
DebugData_Timer = setDelay(DebugData_Interval);
request_DebugData = FALSE;
}