Changeset 1702 for trunk/MagicSoft/Cosy/candrv/nodedrv.cc
- Timestamp:
- 01/13/03 18:18:15 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/candrv/nodedrv.cc
r1690 r1702 87 87 // -------------------------------------------------------------------------- 88 88 // 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 // 92 bool NodeDrv::Reboot() 93 { 94 fIsZombie = false; 95 return true; 96 } 97 98 // -------------------------------------------------------------------------- 99 // 89 100 // Init device, sets the pointer to the whole network and enables 90 101 // the Can messages to be passed through the interface: … … 315 326 bool NodeDrv::WaitForSdo(WORD_t idx, BYTE_t subidx, WORDS_t timeout) 316 327 { 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; 318 334 } 319 335
Note:
See TracChangeset
for help on using the changeset viewer.