Rev 2309 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2309 | Rev 2333 | ||
---|---|---|---|
Line 190... | Line 190... | ||
190 | ToNaviCtrl.Param.Byte[6] = Parameter_UserParam7; |
190 | ToNaviCtrl.Param.Byte[6] = Parameter_UserParam7; |
191 | ToNaviCtrl.Param.Byte[7] = Parameter_UserParam8; |
191 | ToNaviCtrl.Param.Byte[7] = Parameter_UserParam8; |
192 | ToNaviCtrl.Param.Byte[8] = FC_StatusFlags; |
192 | ToNaviCtrl.Param.Byte[8] = FC_StatusFlags; |
193 | //if(FC_StatusFlags2 & FC_STATUS2_WAIT_FOR_TAKEOFF) ToNaviCtrl.Param.Byte[8] &= ~FC_STATUS_FLY; |
193 | //if(FC_StatusFlags2 & FC_STATUS2_WAIT_FOR_TAKEOFF) ToNaviCtrl.Param.Byte[8] &= ~FC_STATUS_FLY; |
194 | FC_StatusFlags &= ~(FC_STATUS_CALIBRATE | FC_STATUS_START); |
194 | FC_StatusFlags &= ~(FC_STATUS_CALIBRATE | FC_STATUS_START); |
195 | ToNaviCtrl.Param.Byte[9] = GetActiveParamSet(); |
195 | ToNaviCtrl.Param.Byte[9] = ActiveParamSet; |
196 | ToNaviCtrl.Param.Byte[10] = EE_Parameter.ComingHomeAltitude; |
196 | ToNaviCtrl.Param.Byte[10] = EE_Parameter.ComingHomeAltitude; |
197 | ToNaviCtrl.Param.Byte[11] = FC_StatusFlags2; |
197 | ToNaviCtrl.Param.Byte[11] = FC_StatusFlags2; |
198 | break; |
198 | break; |
Line 199... | Line 199... | ||
199 | 199 |