Rev 2348 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2348 | Rev 2360 | ||
---|---|---|---|
Line 178... | Line 178... | ||
178 | break; |
178 | break; |
179 | case SPI_FCCMD_BL_ACCU: |
179 | case SPI_FCCMD_BL_ACCU: |
180 | ToNaviCtrl.Param.Int[0] = Capacity.ActualCurrent; // 0.1A |
180 | ToNaviCtrl.Param.Int[0] = Capacity.ActualCurrent; // 0.1A |
181 | ToNaviCtrl.Param.Int[1] = Capacity.UsedCapacity; // mAh |
181 | ToNaviCtrl.Param.Int[1] = Capacity.UsedCapacity; // mAh |
182 | ToNaviCtrl.Param.Byte[4] = (unsigned char) UBat; // 0.1V |
182 | ToNaviCtrl.Param.Byte[4] = (unsigned char) UBat; // 0.1V |
183 | ToNaviCtrl.Param.Byte[5] = GetChannelValue(EE_Parameter.NaviGpsModeChannel); // GPS-Mode control |
183 | //ToNaviCtrl.Param.Byte[5] = GetChannelValue(EE_Parameter.NaviGpsModeChannel); // GPS-Mode control // MartinR: so war es |
- | 184 | ToNaviCtrl.Param.Byte[5] = Parameter_NaviGpsModeControl; // MartinR: wird wiederverwendet für GPS free bei HH |
|
184 | ToNaviCtrl.Param.Byte[6] = VarioCharacter; |
185 | ToNaviCtrl.Param.Byte[6] = VarioCharacter; |
185 | ToNaviCtrl.Param.Byte[7] = motorindex; |
186 | ToNaviCtrl.Param.Byte[7] = motorindex; |
186 | ToNaviCtrl.Param.Byte[8] = Motor[motorindex].MaxPWM; |
187 | ToNaviCtrl.Param.Byte[8] = Motor[motorindex].MaxPWM; |
187 | ToNaviCtrl.Param.Byte[9] = Motor[motorindex].State; |
188 | ToNaviCtrl.Param.Byte[9] = Motor[motorindex].State; |
188 | ToNaviCtrl.Param.Byte[10] = Motor[motorindex].Temperature; |
189 | ToNaviCtrl.Param.Byte[10] = Motor[motorindex].Temperature; |