Ignore:
Timestamp:
01/23/03 13:44:31 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/devdrv/macs.cc

    r1727 r1728  
    327327void Macs::SetHome(LWORDS_t pos, WORD_t maxtime)
    328328{
    329     /*
    330     Bool_t to = fTimerOn;
    331 
    332     if (to)
    333         EnableTimeout(kFALSE);
    334     */
     329    StopHostGuarding();
     330    StopGuarding();
     331
    335332    lout << "- " << GetNodeName() << ": Driving to home position, Offset=" << dec << pos << endl;
    336333    SendSDO(0x6003, 2, (LWORD_t)pos);       // home
     
    346343    WaitForSdo(0x6003, 0);
    347344
    348     //if (to)
    349     //    EnableTimeout(kTRUE);
     345    StartGuarding();
     346    StartHostGuarding();
    350347}
    351348
Note: See TracChangeset for help on using the changeset viewer.