Rev 1703 | Rev 1787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1703 | Rev 1765 | ||
---|---|---|---|
Line 175... | Line 175... | ||
175 | ToNaviCtrl.Param.Byte[3] = Parameter_UserParam4; |
175 | ToNaviCtrl.Param.Byte[3] = Parameter_UserParam4; |
176 | ToNaviCtrl.Param.Byte[4] = Parameter_UserParam5; |
176 | ToNaviCtrl.Param.Byte[4] = Parameter_UserParam5; |
177 | ToNaviCtrl.Param.Byte[5] = Parameter_UserParam6; |
177 | ToNaviCtrl.Param.Byte[5] = Parameter_UserParam6; |
178 | ToNaviCtrl.Param.Byte[6] = Parameter_UserParam7; |
178 | ToNaviCtrl.Param.Byte[6] = Parameter_UserParam7; |
179 | ToNaviCtrl.Param.Byte[7] = Parameter_UserParam8; |
179 | ToNaviCtrl.Param.Byte[7] = Parameter_UserParam8; |
180 | ToNaviCtrl.Param.Byte[8] = (unsigned char) FCFlags; |
180 | ToNaviCtrl.Param.Byte[8] = FC_StatusFlags; |
181 | FCFlags &= ~(FCFLAG_CALIBRATE | FCFLAG_START); |
181 | FC_StatusFlags &= ~(FC_STATUS_CALIBRATE | FC_STATUS_START); |
182 | ToNaviCtrl.Param.Byte[9] = GetActiveParamSet(); |
182 | ToNaviCtrl.Param.Byte[9] = GetActiveParamSet(); |
183 | ToNaviCtrl.Param.Byte[10] = ControlHeading; |
183 | ToNaviCtrl.Param.Byte[10] = ControlHeading; |
184 | break; |
184 | break; |
Line 185... | Line 185... | ||
185 | 185 | ||
Line 249... | Line 249... | ||
249 | ToNaviCtrl.Param.Byte[3] = NC_SPI_COMPATIBLE; |
249 | ToNaviCtrl.Param.Byte[3] = NC_SPI_COMPATIBLE; |
250 | ToNaviCtrl.Param.Byte[4] = PlatinenVersion; |
250 | ToNaviCtrl.Param.Byte[4] = PlatinenVersion; |
251 | ToNaviCtrl.Param.Byte[5] = VersionInfo.HardwareError[0]; |
251 | ToNaviCtrl.Param.Byte[5] = VersionInfo.HardwareError[0]; |
252 | ToNaviCtrl.Param.Byte[6] = VersionInfo.HardwareError[1]; |
252 | ToNaviCtrl.Param.Byte[6] = VersionInfo.HardwareError[1]; |
253 | ToNaviCtrl.Param.Byte[7] = VersionInfo.HardwareError[2]; |
253 | ToNaviCtrl.Param.Byte[7] = VersionInfo.HardwareError[2]; |
- | 254 | ToNaviCtrl.Param.Byte[8] = VersionInfo.HardwareError[3]; |
|
- | 255 | ToNaviCtrl.Param.Byte[9] = VersionInfo.HardwareError[4]; |
|
254 | break; |
256 | break; |
255 | case SPI_FCCMD_SERVOS: |
257 | case SPI_FCCMD_SERVOS: |
256 | ToNaviCtrl.Param.Byte[0] = EE_Parameter.ServoNickRefresh; // Parameters for the Servo Control |
258 | ToNaviCtrl.Param.Byte[0] = EE_Parameter.ServoNickRefresh; // Parameters for the Servo Control |
257 | ToNaviCtrl.Param.Byte[1] = EE_Parameter.ServoCompInvert; |
259 | ToNaviCtrl.Param.Byte[1] = EE_Parameter.ServoCompInvert; |
258 | ToNaviCtrl.Param.Byte[2] = Parameter_ServoNickControl; |
260 | ToNaviCtrl.Param.Byte[2] = Parameter_ServoNickControl; |