Ignore:
Timestamp:
05/20/04 05:01:03 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/candrv
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/MagicSoft/Cosy/candrv/network.h

    r1727 r4105  
    1 #ifndef NETWORK_H
    2 #define NETWORK_H
     1#ifndef COSY_Network
     2#define COSY_Network
    33
     4#ifndef COSY_CanOpen
    45#include "canopen.h"
     6#endif
     7#ifndef COSY_NodeDrv
    58#include "nodedrv.h"
     9#endif
    610
    711class Network : public CanOpen
  • TabularUnified trunk/MagicSoft/Cosy/candrv/nodedrv.cc

    r2615 r4105  
    4848#include <iostream.h>
    4949
    50 #include <TTimer.h>
     50//#include <TTimer.h>
    5151
    5252#include "MTime.h"
     
    530530            const Double_t t0 = t+fGuardTime;
    531531
    532             while (!HasStopFlag() && t<t0 && t<fTimeoutTime)
     532            while (!HasStopFlag() && (double)t<t0 && (double)t<fTimeoutTime)
    533533            {
    534534                usleep(5);
     
    540540            //cout << "-g-> " << (Long_t)((t-t0)*1000)<< endl;
    541541
    542             if (t<fTimeoutTime)
     542            if ((double)t<fTimeoutTime)
    543543                continue;
    544544
  • TabularUnified trunk/MagicSoft/Cosy/candrv/nodedrv.h

    r2518 r4105  
    1 #ifndef NODEDRV_H
    2 #define NODEDRV_H
     1#ifndef COSY_NodeDrv
     2#define COSY_NodeDrv
    33
     4#ifndef ROOT_TString
    45#include <TString.h>
     6#endif
    57
     8#ifndef COSY_Log
    69#include "log.h"
     10#endif
    711
    812#ifdef __CINT__
  • TabularUnified trunk/MagicSoft/Cosy/candrv/vmodican.cc

    r4076 r4105  
    934934//  and switch the can bus communication on
    935935//
    936 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, 1)//: CanDriver(dev, baud)
    937937{
    938938    //
  • TabularUnified trunk/MagicSoft/Cosy/candrv/vmodican.h

    r1727 r4105  
    1 #ifndef VMODICAN_H
    2 #define VMODICAN_H
     1#ifndef COSY_VmodIcan
     2#define COSY_VmodIcan
    33
    44#include <pthread.h>
     
    1616#endif
    1717
     18#ifndef COSY_MThread
    1819#include "MThread.h"
     20#endif
    1921
    2022class Message;
Note: See TracChangeset for help on using the changeset viewer.