Rev 1861 | Rev 1865 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1861 | Rev 1862 | ||
---|---|---|---|
Line 307... | Line 307... | ||
307 | FromNC_Rotate_S = FromNaviCtrl.Param.Byte[6]; |
307 | FromNC_Rotate_S = FromNaviCtrl.Param.Byte[6]; |
308 | if(CareFree && FromNaviCtrl.Param.sInt[4] >= 0) |
308 | if(CareFree && FromNaviCtrl.Param.sInt[4] >= 0) |
309 | { |
309 | { |
310 | KompassSollWert = FromNaviCtrl.Param.sInt[4]; // bei Carefree kann NC den Kompass-Sollwinkel vorgeben |
310 | KompassSollWert = FromNaviCtrl.Param.sInt[4]; // bei Carefree kann NC den Kompass-Sollwinkel vorgeben |
311 | } |
311 | } |
312 | // if(CareFree) POI_KameraNick = (POI_KameraNick + FromNaviCtrl.Param.sInt[5]) / 2; // Nickwinkel |
- | |
313 | // else POI_KameraNick = 0; |
- | |
314 | POI_KameraNick = POI_KameraNick = (POI_KameraNick + FromNaviCtrl.Param.sInt[5]) / 2; // FromNaviCtrl.Param.sInt[5]; // Nickwinkel |
312 | POI_KameraNick = (POI_KameraNick + FromNaviCtrl.Param.sInt[5]) / 2; // FromNaviCtrl.Param.sInt[5]; // Nickwinkel |
315 | break; |
313 | break; |
316 | case SPI_NCCMD_VERSION: |
314 | case SPI_NCCMD_VERSION: |
317 | NC_Version.Major = FromNaviCtrl.Param.Byte[0]; |
315 | NC_Version.Major = FromNaviCtrl.Param.Byte[0]; |
318 | NC_Version.Minor = FromNaviCtrl.Param.Byte[1]; |
316 | NC_Version.Minor = FromNaviCtrl.Param.Byte[1]; |
319 | NC_Version.Patch = FromNaviCtrl.Param.Byte[2]; |
317 | NC_Version.Patch = FromNaviCtrl.Param.Byte[2]; |