Changeset 1266 for trunk/MagicSoft/Cosy/candrv
- Timestamp:
- 04/04/02 13:17:33 (23 years ago)
- Location:
- trunk/MagicSoft/Cosy/candrv
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/candrv/canopen.cc
r1140 r1266 51 51 pthread_mutex_lock(&fPdoMux[i][j]); 52 52 } 53 54 lout << "- CanOpen initialized." << endl; 53 55 } 54 56 -
trunk/MagicSoft/Cosy/candrv/network.cc
r1140 r1266 74 74 for (int i=0; i<32; i++) 75 75 fNodes[i] = NULL; 76 77 lout << "- Network initialized." << endl; 76 78 } 77 79 … … 233 235 if (fNodes[i]) 234 236 { 235 lout << "- InitializingNode #" << dec << i << endl;237 lout << "- Setting up Node #" << dec << i << endl; 236 238 fNodes[i]->InitDevice(this); 237 239 fNodeInitialized[i] = TRUE; 238 240 } 239 lout << "- All Nodes initialized." << endl;241 lout << "- All Nodes setup." << endl; 240 242 } 241 243 -
trunk/MagicSoft/Cosy/candrv/nodedrv.cc
r1140 r1266 73 73 fName += (int)nodeid; 74 74 } 75 76 lout << "- Node #" << nodeid << " (" << name << ") initialized." << endl; 75 77 } 76 78 -
trunk/MagicSoft/Cosy/candrv/vmodican.cc
r1140 r1266 39 39 #include <unistd.h> // read 40 40 #include <pthread.h> // pthread_create 41 #include <sys/time.h> // gettimeofday 41 42 #include <sys/ioctl.h> // ioctl 42 43 #include <sys/resource.h> // PRIO_PROCESS … … 592 593 { 593 594 lout << "Error: Opening device '" << devname << "' (rc=" << fd << ")" << endl; 595 lout << strerror(errno) << endl; 594 596 return FALSE; 595 597 } 596 598 597 lout << "- Device " << devname << " open." << endl;599 lout << "- Device " << devname << " #" << fd << " open." << endl; 598 600 599 601 return TRUE; … … 921 923 Detach(); 922 924 923 Open(dev); // open module 925 if (!Open(dev)) 926 { 927 cout << "Cannot open device '" << dev << "'... exit." << endl; 928 cout << strerror(errno) << endl; 929 exit(1); // open module 930 } 924 931 Reset(); 925 932 EnableFifo(); // connect to host (in interrupt mode) … … 931 938 EnableFastCan(50, 50); 932 939 SetTermination(0); 933 */ 940 */ 941 942 lout << "- VmodIcan initialized." << endl; 943 934 944 } 935 945
Note:
See TracChangeset
for help on using the changeset viewer.