Rev 572 | Rev 574 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 572 | Rev 573 | ||
---|---|---|---|
Line 797... | Line 797... | ||
797 | DebugOut.StatusGreen |= AMPEL_FC; // status of FC Present |
797 | DebugOut.StatusGreen |= AMPEL_FC; // status of FC Present |
798 | DebugOut.StatusGreen |= AMPEL_BL; // status of BL Present |
798 | DebugOut.StatusGreen |= AMPEL_BL; // status of BL Present |
799 | if(FC.Error[0] || FC.Error[1] /* || FC.Error[2] || FC.Error[3] || FC.Error[4]*/) DebugOut.StatusRed |= AMPEL_FC; |
799 | if(FC.Error[0] || FC.Error[1] /* || FC.Error[2] || FC.Error[3] || FC.Error[4]*/) DebugOut.StatusRed |= AMPEL_FC; |
800 | else DebugOut.StatusRed &= ~AMPEL_FC; |
800 | else DebugOut.StatusRed &= ~AMPEL_FC; |
801 | break; |
801 | break; |
- | 802 | case SPI_FCCMD_NEUTRAL: |
|
- | 803 | FC.AdNeutralNick = FromFlightCtrl.Param.Int[0]; |
|
- | 804 | FC.AdNeutralRoll = FromFlightCtrl.Param.Int[1]; |
|
- | 805 | FC.AdNeutralYaw = FromFlightCtrl.Param.Int[2]; |
|
- | 806 | Parameter.Driftkomp = FromFlightCtrl.Param.Byte[6]; |
|
- | 807 | DebugOut.Analog[16] = FC.AdNeutralNick; |
|
- | 808 | DebugOut.Analog[17] = FC.AdNeutralRoll; |
|
- | 809 | DebugOut.Analog[18] = FC.AdNeutralYaw; |
|
- | 810 | break; |
|
802 | default: |
811 | default: |
803 | break; |
812 | break; |
804 | } |
813 | } |
805 | DebugOut.Analog[0] = FromFlightCtrl.AngleNick; |
814 | DebugOut.Analog[0] = FromFlightCtrl.AngleNick; |
806 | DebugOut.Analog[1] = FromFlightCtrl.AngleRoll; |
815 | DebugOut.Analog[1] = FromFlightCtrl.AngleRoll; |