Ignore:
Timestamp:
02/15/08 21:42:55 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/candrv
Files:
3 edited

Legend:

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

    r8862 r8863  
    111111
    112112        case kSDO_TX_ERROR:  // error message (instead of 0x60)
    113             fNodes[node]->HandleSDOError(data);
     113            fNodes[node]->HandleSDOError(idx, subidx);
    114114            return;
    115115        }
  • trunk/MagicSoft/Cosy/candrv/nodedrv.cc

    r8843 r8863  
    167167// Print an error message with the corresponding data from this device.
    168168//
    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 << ")";
     169void 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 << ")";
    173173    gLog << endl;
    174174}
  • trunk/MagicSoft/Cosy/candrv/nodedrv.h

    r8835 r8863  
    6767    virtual void HandleSDO(WORD_t idx, BYTE_t subidx, LWORD_t val, const timeval_t &tv);
    6868    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);
    7070
    7171    virtual void HandlePDO1(const BYTE_t *data, const timeval_t &tv) {}
Note: See TracChangeset for help on using the changeset viewer.