Changeset 1690 for trunk/MagicSoft/Cosy/candrv/nodedrv.cc
- Timestamp:
- 12/18/02 17:48:44 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/candrv/nodedrv.cc
r1273 r1690 56 56 // and the node name. The name is a name for debug output. 57 57 // 58 NodeDrv::NodeDrv(BYTE_t nodeid, const char *name, MLog &out) : Log(out), fNetwork(NULL), fId(32), fError(0) 58 NodeDrv::NodeDrv(BYTE_t nodeid, const char *name, MLog &out) : Log(out), fNetwork(NULL), fId(32), fError(0), fIsZombie(kFALSE) 59 59 { 60 60 if (nodeid>0x1f) … … 311 311 // this device has been received. 312 312 // 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 // 315 bool NodeDrv::WaitForSdo(WORD_t idx, BYTE_t subidx, WORDS_t timeout) 316 { 317 return fNetwork->WaitForSdo(fId, idx, subidx, timeout); 317 318 } 318 319
Note:
See TracChangeset
for help on using the changeset viewer.