Skip to content

Commit

Permalink
Move definition to separate file
Browse files Browse the repository at this point in the history
- IsExternalInit is now placed is its own file, since it only needs to be defined once in a namespace for records to work
  • Loading branch information
bparks13 committed Sep 12, 2024
1 parent c42583c commit 0b03555
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions OpenEphys.Onix1/IsExternalInit.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
namespace System.Runtime.CompilerServices
{
internal static class IsExternalInit { }
}
7 changes: 1 addition & 6 deletions OpenEphys.Onix1/NeuropixelsV2GainCorrection.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
namespace System.Runtime.CompilerServices
{
internal static class IsExternalInit { }
}

namespace OpenEphys.Onix1
namespace OpenEphys.Onix1
{
/// <summary>
/// A struct to hold the gain correction value and the serial number from a Neuropixels 2.0 gain
Expand Down

0 comments on commit 0b03555

Please sign in to comment.