65,14 → 65,14 |
const uint8_t ANALOG_LABEL[32][16] = |
{ |
//1234567890123456 |
"IntegralPitch ", //0 |
"IntegralNick ", //0 |
"IntegralRoll ", |
"AccPitch ", |
"AccNick ", |
"AccRoll ", |
"GyroYaw ", |
"ReadingHeight ", //5 |
"AccZ ", |
"Thrust ", |
"Gas ", |
"CompassHeading ", |
"Voltage ", |
"Receiver Level ", //10 |
86,7 → 86,7 |
"SPI Ok ", |
" ", |
"Servo ", //20 |
"Pitch ", |
"Nick ", |
"Roll ", |
" ", |
" ", |
95,7 → 95,7 |
" ", |
" ", |
" ", |
"GPS_Pitch ", //30 |
"GPS_Nick ", //30 |
"GPS_Roll " |
}; |
|
423,7 → 423,7 |
case 'p': // save parameterset |
Decode64((uint8_t *) &ParamSet.ChannelAssignment[0],PARAMSET_STRUCT_LEN,3,ReceivedBytes); |
ParamSet_WriteToEEProm(rxd_buffer[2] - 'l' + 1); |
TurnOver180Pitch = (int32_t) ParamSet.AngleTurnOverPitch * 2500L; |
TurnOver180Nick = (int32_t) ParamSet.AngleTurnOverNick * 2500L; |
TurnOver180Roll = (int32_t) ParamSet.AngleTurnOverRoll * 2500L; |
Beep(GetActiveParamSet()); |
break; |
463,7 → 463,7 |
#ifdef USE_MK3MAG |
if((CheckDelay(Compass_Timer)) && txd_complete) |
{ |
ToMk3Mag.Attitude[0] = (int16_t) (IntegralPitch / 108); // approx. 0,1 Deg |
ToMk3Mag.Attitude[0] = (int16_t) (IntegralNick / 108); // approx. 0,1 Deg |
ToMk3Mag.Attitude[1] = (int16_t) (IntegralRoll / 108); // approx. 0,1 Deg |
ToMk3Mag.UserParam[0] = FCParam.UserParam1; |
ToMk3Mag.UserParam[1] = FCParam.UserParam2; |