Subversion Repositories NaviCtrl

Rev

Rev 327 | Rev 329 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 327 Rev 328
Line 521... Line 521...
521
                                FC_Version.Major                = FromFlightCtrl.Param.Byte[0];
521
                                FC_Version.Major                = FromFlightCtrl.Param.Byte[0];
522
                                FC_Version.Minor                = FromFlightCtrl.Param.Byte[1];
522
                                FC_Version.Minor                = FromFlightCtrl.Param.Byte[1];
523
                                FC_Version.Patch                = FromFlightCtrl.Param.Byte[2];
523
                                FC_Version.Patch                = FromFlightCtrl.Param.Byte[2];
524
                                FC_Version.Compatible   = FromFlightCtrl.Param.Byte[3];
524
                                FC_Version.Compatible   = FromFlightCtrl.Param.Byte[3];
525
                                FC_Version.Hardware             = FromFlightCtrl.Param.Byte[4];
525
                                FC_Version.Hardware             = FromFlightCtrl.Param.Byte[4];
526
                                FC.Error[0]                     = FromFlightCtrl.Param.Byte[5];
526
                                FC.Error[0]                     |= FromFlightCtrl.Param.Byte[5];
527
                                FC.Error[1]                     = FromFlightCtrl.Param.Byte[6];
527
                                FC.Error[1]                     |= FromFlightCtrl.Param.Byte[6];
528
                                FC.Error[2]                     = FromFlightCtrl.Param.Byte[7];
528
                                FC.Error[2]                     |= FromFlightCtrl.Param.Byte[7];
529
                                FC.Error[3]                     = FromFlightCtrl.Param.Byte[8];
529
                                FC.Error[3]                     |= FromFlightCtrl.Param.Byte[8];
530
                                FC.Error[4]                     = FromFlightCtrl.Param.Byte[9];
530
                                FC.Error[4]                     |= FromFlightCtrl.Param.Byte[9];
531
                                Parameter.OrientationAngle = FromFlightCtrl.Param.Byte[10];
531
                                Parameter.OrientationAngle = FromFlightCtrl.Param.Byte[10];
532
                                DebugOut.Status[0] |= 0x01; // status of FC Present
532
                                DebugOut.Status[0] |= 0x01; // status of FC Present
533
                                DebugOut.Status[0] |= 0x02; // status of BL Present
533
                                DebugOut.Status[0] |= 0x02; // status of BL Present
534
                                if(FC.Error[0] || FC.Error[1] || FC.Error[2] || FC.Error[3] || FC.Error[4]) DebugOut.Status[1] |= 0x01;
534
                                if(FC.Error[0] || FC.Error[1] || FC.Error[2] || FC.Error[3] || FC.Error[4]) DebugOut.Status[1] |= 0x01;
535
                                else DebugOut.Status[1] &= ~0x01;
535
                                else DebugOut.Status[1] &= ~0x01;