Changeset 91 in pacpussensors for trunk/CanGateway/driver
- Timestamp:
- Jul 28, 2015, 4:28:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CanGateway/driver/KVaserCanDriver.cpp
r89 r91 248 248 memcpy(frame.data, msg, frame.dlc); 249 249 return 0; 250 } else if (stat == canERR_NOMSG ) { 250 } 251 } 252 else if (stat == canERR_NOMSG ) { 251 253 // timeout occurs 252 254 LOG_WARN("Kvaser card - receiveFrame() method - TIMEOUT"); 253 255 return 1; 254 } else { 256 } 257 else { 255 258 // An error frame. 256 259 LOG_WARN("Kvaser card, error frame"); 257 260 return 1; 258 259 } 260 261 return 0;261 } 262 263 264 return 1; 262 265 } 263 266
Note:
See TracChangeset
for help on using the changeset viewer.