We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 211ac6c + 010dd76 commit d82c33bCopy full SHA for d82c33b
OpenEphys.Onix1/ConfigureDigitalIO.cs
@@ -84,7 +84,7 @@ public NameConverter()
84
/// Specifies the state of the ONIX breakout board's digital input pins.
85
/// </summary>
86
[Flags]
87
- public enum DigitalPortState : ushort
+ public enum DigitalPortState : byte
88
{
89
/// <summary>
90
/// Specifies that pin 0 is high.
OpenEphys.Onix1/DigitalInputDataFrame.cs
@@ -36,6 +36,7 @@ struct DigitalInputPayload
36
37
public ulong HubClock;
38
public DigitalPortState DigitalInputs;
39
+ public byte Pad; // NB: Pad comes after port state due to endianness change
40
public BreakoutButtonState Buttons;
41
}
42
0 commit comments