Skip to content

Commit 0b03555

Browse files
committed
Move definition to separate file
- IsExternalInit is now placed is its own file, since it only needs to be defined once in a namespace for records to work
1 parent c42583c commit 0b03555

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

OpenEphys.Onix1/IsExternalInit.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
namespace System.Runtime.CompilerServices
2+
{
3+
internal static class IsExternalInit { }
4+
}

OpenEphys.Onix1/NeuropixelsV2GainCorrection.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
namespace System.Runtime.CompilerServices
2-
{
3-
internal static class IsExternalInit { }
4-
}
5-
6-
namespace OpenEphys.Onix1
1+
namespace OpenEphys.Onix1
72
{
83
/// <summary>
94
/// A struct to hold the gain correction value and the serial number from a Neuropixels 2.0 gain

0 commit comments

Comments
 (0)