Ignore:
Timestamp:
Aug 17, 2012, 9:53:11 AM (12 years ago)
Author:
chronos
Message:
  • Fixed: Use parent TCommNode Active property instead custom in PinConnection package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • PinConnection/UCommSerialPort.pas

    r413 r414  
    1919    procedure ReceiveData(Stream: TListByte);
    2020  protected
    21     procedure SetActive(AValue: Boolean); override;
     21    procedure SetActive(const AValue: Boolean); override;
    2222  public
    2323    SerialPort: TSerialPort;
     
    3939end;
    4040
    41 procedure TCommSerialPort.SetActive(AValue: Boolean);
     41procedure TCommSerialPort.SetActive(const AValue: Boolean);
    4242begin
    43   inherited SetActive(AValue);
     43  inherited;
    4444  SerialPort.Active := AValue;
    4545end;
Note: See TracChangeset for help on using the changeset viewer.