From 093b40a4d8e89eab743e7b69a91dc0cdecd80fec Mon Sep 17 00:00:00 2001 From: glopesdev Date: Tue, 2 Jul 2024 15:13:32 +0100 Subject: [PATCH] Allow override of CheckLinkState implementation --- OpenEphys.Onix/OpenEphys.Onix/ConfigureFmcLinkController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenEphys.Onix/OpenEphys.Onix/ConfigureFmcLinkController.cs b/OpenEphys.Onix/OpenEphys.Onix/ConfigureFmcLinkController.cs index 5d3442c1..79b45d66 100644 --- a/OpenEphys.Onix/OpenEphys.Onix/ConfigureFmcLinkController.cs +++ b/OpenEphys.Onix/OpenEphys.Onix/ConfigureFmcLinkController.cs @@ -21,7 +21,7 @@ public ConfigureFmcLinkController() "Consult the device datasheet and documentation for allowable voltage ranges.")] public double? PortVoltage { get; set; } = null; - protected bool CheckLinkState(DeviceContext device) + protected virtual bool CheckLinkState(DeviceContext device) { var linkState = device.ReadRegister(FmcLinkController.LINKSTATE); return (linkState & FmcLinkController.LINKSTATE_SL) != 0;