Rev 2341 | Rev 2345 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2341 | Rev 2342 | ||
---|---|---|---|
Line 379... | Line 379... | ||
379 | } |
379 | } |
380 | if(NaviDataOkay > 200) |
380 | if(NaviDataOkay > 200) |
381 | { |
381 | { |
382 | NaviDataOkay--; |
382 | NaviDataOkay--; |
383 | VersionInfo.HardwareError[1] &= ~FC_ERROR1_SPI_RX; |
383 | VersionInfo.HardwareError[1] &= ~FC_ERROR1_SPI_RX; |
- | 384 | VersionInfo.Flags |= FC_VERSION_FLAG_NC_PRESENT; |
|
384 | } |
385 | } |
385 | else |
386 | else |
386 | { |
387 | { |
387 | if(NC_Version.Compatible) |
388 | if(NC_Version.Compatible) |
388 | { |
389 | { |
Line 399... | Line 400... | ||
399 | GPS_Aid_StickMultiplikator = 0; |
400 | GPS_Aid_StickMultiplikator = 0; |
400 | GPSInfo.Flags = 0; |
401 | GPSInfo.Flags = 0; |
401 | FromNaviCtrl.AccErrorN = 0; |
402 | FromNaviCtrl.AccErrorN = 0; |
402 | FromNaviCtrl.AccErrorR = 0; |
403 | FromNaviCtrl.AccErrorR = 0; |
403 | FromNaviCtrl.CompassValue = -1; |
404 | FromNaviCtrl.CompassValue = -1; |
- | 405 | FromNC_AltitudeSpeed = 0; |
|
- | 406 | FromNC_AltitudeSetpoint = 0; |
|
- | 407 | VersionInfo.Flags &= ~FC_VERSION_FLAG_NC_PRESENT; |
|
404 | NaviDataOkay = 0; |
408 | NaviDataOkay = 0; |
405 | } |
409 | } |
406 | if(UBat < BattLowVoltageWarning) |
410 | if(UBat < BattLowVoltageWarning) |
407 | { |
411 | { |
408 | FC_StatusFlags |= FC_STATUS_LOWBAT; |
412 | FC_StatusFlags |= FC_STATUS_LOWBAT; |