Changeset 8863 for trunk/MagicSoft/Cosy/candrv
- Timestamp:
- 02/15/08 21:42:55 (17 years ago)
- Location:
- trunk/MagicSoft/Cosy/candrv
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/candrv/network.cc
r8862 r8863 111 111 112 112 case kSDO_TX_ERROR: // error message (instead of 0x60) 113 fNodes[node]->HandleSDOError( data);113 fNodes[node]->HandleSDOError(idx, subidx); 114 114 return; 115 115 } -
trunk/MagicSoft/Cosy/candrv/nodedrv.cc
r8843 r8863 167 167 // Print an error message with the corresponding data from this device. 168 168 // 169 void NodeDrv::HandleSDOError( LWORD_t data)170 { 171 gLog << warn << "WARNING - Nodedrv::HandleSDOError: Entry not found in dictionary (data=0x";172 gLog << hex << setfill('0') << setw(4) << data<< ")";169 void NodeDrv::HandleSDOError(WORD_t idx, BYTE_t subidx) 170 { 171 gLog << warn << "WARNING - Nodedrv::HandleSDOError: Node #" << dec << (int)fId << ": Entry not found in dictionary (idx=0x"; 172 gLog << hex << setfill('0') << setw(4) << idx << "/" << (int)subidx << dec << ")"; 173 173 gLog << endl; 174 174 } -
trunk/MagicSoft/Cosy/candrv/nodedrv.h
r8835 r8863 67 67 virtual void HandleSDO(WORD_t idx, BYTE_t subidx, LWORD_t val, const timeval_t &tv); 68 68 virtual void HandleSDOOK(WORD_t idx, BYTE_t subidx, LWORD_t data, const timeval_t &tv); 69 virtual void HandleSDOError( LWORD_t data);69 virtual void HandleSDOError(WORD_t idx, BYTE_t subidx); 70 70 71 71 virtual void HandlePDO1(const BYTE_t *data, const timeval_t &tv) {}
Note:
See TracChangeset
for help on using the changeset viewer.