Rev 2081 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2081 | Rev 2093 | ||
---|---|---|---|
Line 205... | Line 205... | ||
205 | ToNaviCtrl.Param.Byte[10] = Motor[motorindex].Temperature; |
205 | ToNaviCtrl.Param.Byte[10] = Motor[motorindex].Temperature; |
206 | ToNaviCtrl.Param.Byte[11] = Motor[motorindex++].Current; |
206 | ToNaviCtrl.Param.Byte[11] = Motor[motorindex++].Current; |
207 | motorindex %= 12; |
207 | motorindex %= 12; |
208 | break; |
208 | break; |
209 | case SPI_FCCMD_PARAMETER1: |
209 | case SPI_FCCMD_PARAMETER1: |
210 | ToNaviCtrl.Param.Byte[0] = EE_Parameter.NaviGpsModeControl; // Parameters for the Naviboard |
210 | //ToNaviCtrl.Param.Byte[0] = EE_Parameter.NaviGpsModeControl; // Parameters for the Naviboard //MartinR: sowar es |
- | 211 | ToNaviCtrl.Param.Byte[0] = Parameter_NaviGpsModeControl; // MartinR: wird wiederverwendet für GPS free bei HH |
|
- | 212 | ||
211 | ToNaviCtrl.Param.Byte[1] = EE_Parameter.NaviGpsGain; |
213 | ToNaviCtrl.Param.Byte[1] = EE_Parameter.NaviGpsGain; |
212 | ToNaviCtrl.Param.Byte[2] = EE_Parameter.NaviGpsP; |
214 | ToNaviCtrl.Param.Byte[2] = EE_Parameter.NaviGpsP; |
213 | ToNaviCtrl.Param.Byte[3] = EE_Parameter.NaviGpsI; |
215 | ToNaviCtrl.Param.Byte[3] = EE_Parameter.NaviGpsI; |
214 | ToNaviCtrl.Param.Byte[4] = EE_Parameter.NaviGpsD; |
216 | ToNaviCtrl.Param.Byte[4] = EE_Parameter.NaviGpsD; |
215 | ToNaviCtrl.Param.Byte[5] = EE_Parameter.NaviGpsACC; |
217 | ToNaviCtrl.Param.Byte[5] = EE_Parameter.NaviGpsACC; |
Line 360... | Line 362... | ||
360 | EarthMagneticField = FromNaviCtrl.Param.Byte[0]; |
362 | EarthMagneticField = FromNaviCtrl.Param.Byte[0]; |
361 | EarthMagneticInclination = FromNaviCtrl.Param.Byte[1]; |
363 | EarthMagneticInclination = FromNaviCtrl.Param.Byte[1]; |
362 | EarthMagneticInclinationTheoretic = FromNaviCtrl.Param.Byte[2]; |
364 | EarthMagneticInclinationTheoretic = FromNaviCtrl.Param.Byte[2]; |
363 | break; |
365 | break; |
Line 364... | Line 366... | ||
364 | 366 | ||
- | 367 | #if ((defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) && defined(WITH_HOTTMENU)) |
|
365 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
368 | #warning : "### with Hottmenu ###" |
366 | case SPI_NCCMD_HOTT_DATA: |
369 | case SPI_NCCMD_HOTT_DATA: |
367 | if(EE_Parameter.Receiver == RECEIVER_HOTT) NC_Fills_HoTT_Telemety(); |
370 | if(EE_Parameter.Receiver == RECEIVER_HOTT) NC_Fills_HoTT_Telemety(); |
368 | break; |
371 | break; |