Changeset 41 in pacpussensors for trunk/CanGateway/CanGateway.cpp


Ignore:
Timestamp:
Mar 25, 2014, 10:35:44 AM (11 years ago)
Author:
phudelai
Message:

CANGATEWAY changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CanGateway/CanGateway.cpp

    r4 r41  
    157157
    158158
     159bool CanGateway::sendFrame(const CanFrame frame)
     160{
     161        if (canIf_.canDriver_ == NULL)
     162                return false;
     163        else
     164        {
     165                if (canIf_.canDriver_->sendFrame(frame))
     166                        return true;
     167                else
     168                        return false;
     169        }
     170}
     171
     172
    159173
    160174/************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.