From 37408a55d4794e4f2f30b87d7a23614625a41d9e Mon Sep 17 00:00:00 2001 From: bparks13 Date: Fri, 18 Oct 2024 11:59:44 -0400 Subject: [PATCH] Leave devices enabled or disabled as default - For `Headstage64` and `NeuropixelsV1fHeadstage`, the `TS4231` device was overridden to be disabled at the headstage level. Now it will be left at the default Enable value. --- OpenEphys.Onix1/ConfigureHeadstage64.cs | 2 +- OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenEphys.Onix1/ConfigureHeadstage64.cs b/OpenEphys.Onix1/ConfigureHeadstage64.cs index f60c328..08e9607 100644 --- a/OpenEphys.Onix1/ConfigureHeadstage64.cs +++ b/OpenEphys.Onix1/ConfigureHeadstage64.cs @@ -76,7 +76,7 @@ public ConfigureHeadstage64() [Category(DevicesCategory)] [TypeConverter(typeof(SingleDeviceFactoryConverter))] [Description("Specifies the configuration for the TS4231 device in the headstage-64.")] - public ConfigureTS4231V1 TS4231 { get; set; } = new() { Enable = false }; + public ConfigureTS4231V1 TS4231 { get; set; } = new(); /// /// Gets or sets onboard electrical stimulator configuration. diff --git a/OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs b/OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs index be5602b..f646e84 100644 --- a/OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs +++ b/OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs @@ -69,7 +69,7 @@ public ConfigureNeuropixelsV1fHeadstage() [Category(DevicesCategory)] [TypeConverter(typeof(SingleDeviceFactoryConverter))] [Description("Specifies the configuration for the TS4231 device in the headstage-64.")] - public ConfigureTS4231V1 TS4231 { get; set; } = new() { Enable = false }; + public ConfigureTS4231V1 TS4231 { get; set; } = new(); internal override void UpdateDeviceNames() {