Ignore:
Timestamp:
05/15/04 16:46:27 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2518 r4076  
    116116        unsigned char c;
    117117        const int n = read(fd, &c, 1);
    118 
    119118        if (n<0)
    120119        {
    121120            cerr << "Vmodican: read(" << dec << (int)fd << "," << (void*)&c;
    122             cerr << ",1) returned c=" << (int)c << " '" << strerror(errno);
    123             cerr << "' (errno = " << errno << ")" << endl;
     121            cerr << ",1) returned rc=" << n << " c=" << (int)c << " '";
     122            cerr << strerror(errno) << "' (errno = " << errno << ")" << endl;
    124123            continue;
    125             //return (void *)1;
    126124        }
    127125
     
    936934//  and switch the can bus communication on
    937935//
    938 VmodIcan::VmodIcan(const char *dev, const int baud, MLog &out) : Log(out), MThread(false, -10)//: CanDriver(dev, baud)
     936VmodIcan::VmodIcan(const char *dev, const int baud, MLog &out) : Log(out), MThread(false, 10)//: CanDriver(dev, baud)
    939937{
    940938    //
Note: See TracChangeset for help on using the changeset viewer.