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

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/candrv/nodedrv.cc

    r1690 r1702  
    8787// --------------------------------------------------------------------------
    8888//
     89// This should be called from a master or main thread to get a node out
     90// of the Zombie-Status. Overload it by your needs.
     91//
     92bool NodeDrv::Reboot()
     93{
     94    fIsZombie = false;
     95    return true;
     96}
     97
     98// --------------------------------------------------------------------------
     99//
    89100// Init device, sets the pointer to the whole network and enables
    90101// the Can messages to be passed through the interface:
     
    315326bool NodeDrv::WaitForSdo(WORD_t idx, BYTE_t subidx, WORDS_t timeout)
    316327{
    317     return fNetwork->WaitForSdo(fId, idx, subidx, timeout);
     328    bool rc = fNetwork->WaitForSdo(fId, idx, subidx, timeout);
     329
     330    if (!rc)
     331        fIsZombie = kTRUE;
     332
     333    return rc;
    318334}
    319335
Note: See TracChangeset for help on using the changeset viewer.