Changeset 16763 for trunk/Cosy/main/MCosy.cc
- Timestamp:
- 06/07/13 23:25:38 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosy/main/MCosy.cc
r12591 r16763 32 32 //#define EXPERT 33 33 #undef EXPERT 34 #define FACT 34 35 35 36 /* … … 882 883 armed &= fMac2 && fMac2->IsArmed(); 883 884 885 #ifndef FACT // FIXME: Maybe this is also correct for magic? 884 886 if (fMac1 && fMac2) 885 887 { … … 890 892 SetStatus(MDriveCom::kTracking); 891 893 } 894 #else 895 if (fMac1 && fMac2) 896 { 897 // Handle remote control introduced state changed 898 // FIXME: Use a bit in the PD3 to signal remote control operation! 899 if (fStatus==MDriveCom::kStopped && (fMac1->IsPositioning() || fMac2->IsPositioning())) 900 SetStatus(MDriveCom::kMoving); 901 if (fStatus==MDriveCom::kMoving && !fMac1->IsPositioning() && !fMac2->IsPositioning()) 902 SetStatus(MDriveCom::kStopped); 903 } 904 #endif 892 905 893 906 if (HasError()) … … 1062 1075 1063 1076 fCom = com;//new MDriveCom(this, addr, tx, rx, fOutRep); 1077 #ifndef FACT 1064 1078 fCom->SetOutRep(fOutRep); 1079 #endif 1065 1080 // fCom->Start(); 1066 1081 }
Note:
See TracChangeset
for help on using the changeset viewer.