Changeset 480


Ignore:
Timestamp:
Feb 16, 2016, 10:03:56 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Serial port state was incorrectly detected on Linux.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • PinConnection/USerialPort.pas

    r440 r480  
    105105    FActive := True;
    106106    Open;
    107     FActive := FHandle <> INVALID_HANDLE_VALUE;
     107    FActive := FHandle <> THandle(INVALID_HANDLE_VALUE);
    108108    if not FActive then FreeAndNil(FReceiveThread);
    109109  end else
Note: See TracChangeset for help on using the changeset viewer.