Changeset 71 in pacpussensors for trunk/driver/win32SerialPort.cpp


Ignore:
Timestamp:
Nov 19, 2014, 10:24:51 AM (10 years ago)
Author:
DHERBOMEZ Gérald
Message:

Correction of Sick LIDAR LDMRS code: problem when decoding the points cloud (with Chunlei Yu).
Correction of a small bug in Win32SerialPort when receiving RX_FLAG.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/driver/win32SerialPort.cpp

    r59 r71  
    477477
    478478    if ( evtMask & EV_RXCHAR ) {
     479                //printf("%s EV_RXCHAR\n",portName);
    479480        if ((numberBytesToRead = nbBytesToRead()) > 0) {
    480481            receivedBuffer_.resize(numberBytesToRead);
     
    485486
    486487
    487     if ( evtMask & EV_RXFLAG )
    488         //printf("%s EV_RXFLAG\n",portName);
     488    if ( evtMask & EV_RXFLAG ) {
     489        printf("%s EV_RXFLAG\n",portName);
     490        }
    489491
    490492        if ( evtMask & EV_TXEMPTY )
Note: See TracChangeset for help on using the changeset viewer.