Ignore:
Timestamp:
12/18/02 17:48:44 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1273 r1690  
    5656// and the node name. The name is a name for debug output.
    5757//
    58 NodeDrv::NodeDrv(BYTE_t nodeid, const char *name, MLog &out) : Log(out), fNetwork(NULL), fId(32), fError(0)
     58NodeDrv::NodeDrv(BYTE_t nodeid, const char *name, MLog &out) : Log(out), fNetwork(NULL), fId(32), fError(0), fIsZombie(kFALSE)
    5959{
    6060    if (nodeid>0x1f)
     
    311311// this device has been received.
    312312// You can stop waiting by StopWaitingForSDO.
    313 //
    314 void NodeDrv::WaitForSdo(WORD_t idx, BYTE_t subidx, WORDS_t timeout)
    315 {
    316     fNetwork->WaitForSdo(fId, idx, subidx, timeout);
     313// Return false if waiting timed out.
     314//
     315bool NodeDrv::WaitForSdo(WORD_t idx, BYTE_t subidx, WORDS_t timeout)
     316{
     317    return fNetwork->WaitForSdo(fId, idx, subidx, timeout);
    317318}
    318319
Note: See TracChangeset for help on using the changeset viewer.