Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2089 → Rev 2092

/branches/dongfang_FC_rewrite/uart0.c
116,7 → 116,7
"EFT ", //25
"naviPitch ",
"naviRoll ",
"i part contrib ",
"tolerance ",
"Gyro Act Cont. ",
"GPS altitude ", //30
"GPS vert accura "
500,6 → 500,14
request_PPMChannels = TRUE;
break;
 
case 'i':// IMU configuration
tempchar[0] = IMUCONFIG_REVISION;
tempchar[1] = sizeof(IMUConfig);
while (!txd_complete)
; // wait for previous frame to be sent
sendOutData('I', FC_ADDRESS, 2, &tempchar, 2, (uint8_t *) &IMUConfig, sizeof(IMUConfig));
break;
 
case 'q':// request settings
if (pRxData[0] == 0xFF) {
pRxData[0] = getParamByte(PID_ACTIVE_SET);