Rev 1283 | Rev 1316 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1283 | Rev 1312 | ||
---|---|---|---|
Line 216... | Line 216... | ||
216 | ToNaviCtrl.Param.Byte[5] = (unsigned char) Poti2; |
216 | ToNaviCtrl.Param.Byte[5] = (unsigned char) Poti2; |
217 | ToNaviCtrl.Param.Byte[6] = (unsigned char) Poti3; |
217 | ToNaviCtrl.Param.Byte[6] = (unsigned char) Poti3; |
218 | ToNaviCtrl.Param.Byte[7] = (unsigned char) Poti4; |
218 | ToNaviCtrl.Param.Byte[7] = (unsigned char) Poti4; |
219 | ToNaviCtrl.Param.Byte[8] = (unsigned char) SenderOkay; |
219 | ToNaviCtrl.Param.Byte[8] = (unsigned char) SenderOkay; |
220 | ToNaviCtrl.Param.Byte[9] = (unsigned char) SenderRSSI; |
220 | ToNaviCtrl.Param.Byte[9] = (unsigned char) SenderRSSI; |
- | 221 | ToNaviCtrl.Param.Byte[10] = DebugOut.Analog[7] / 4; |
|
221 | break; |
222 | break; |
Line 222... | Line 223... | ||
222 | 223 | ||
223 | case SPI_CMD_MISC: |
224 | case SPI_CMD_MISC: |
224 | if(WinkelOut.CalcState > 5) |
225 | if(WinkelOut.CalcState > 5) |
225 | { |
226 | { |
226 | WinkelOut.CalcState = 0; |
227 | WinkelOut.CalcState = 0; |
227 | ToNaviCtrl.Param.Byte[0] = 5; |
228 | ToNaviCtrl.Param.Byte[0] = 5; |
228 | } |
229 | } |
229 | else ToNaviCtrl.Param.Byte[0] = WinkelOut.CalcState; |
- | |
230 | ToNaviCtrl.Param.Int[1] = (int)(HoehenWert/5); |
230 | else ToNaviCtrl.Param.Byte[0] = WinkelOut.CalcState; |
- | 231 | ToNaviCtrl.Param.Byte[1] = EE_Parameter.NaviPH_LoginTime; |
|
- | 232 | ToNaviCtrl.Param.Int[1] = (int)(HoehenWert/5); |
|
231 | ToNaviCtrl.Param.Byte[1] = EE_Parameter.NaviPH_LoginTime; |
233 | ToNaviCtrl.Param.Int[2] = (int)(SollHoehe/5); |
232 | ToNaviCtrl.Param.Byte[4] = EE_Parameter.NaviGpsPLimit; |
234 | ToNaviCtrl.Param.Byte[6] = EE_Parameter.NaviGpsPLimit; |
233 | ToNaviCtrl.Param.Byte[5] = EE_Parameter.NaviGpsILimit; |
235 | ToNaviCtrl.Param.Byte[7] = EE_Parameter.NaviGpsILimit; |
234 | ToNaviCtrl.Param.Byte[6] = EE_Parameter.NaviGpsDLimit; |
236 | ToNaviCtrl.Param.Byte[8] = EE_Parameter.NaviGpsDLimit; |
Line 235... | Line 237... | ||
235 | break; |
237 | break; |
236 | 238 | ||
237 | case SPI_CMD_VERSION: |
239 | case SPI_CMD_VERSION: |