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 a92062a + 58a018f commit e24f6dbCopy full SHA for e24f6db
OpenEphys.Onix1/ConfigureDigitalIO.cs
@@ -116,7 +116,7 @@ public override IObservable<ContextTask> Process(IObservable<ContextTask> source
116
117
if (sr is not null)
118
{
119
- var periodTicks = (uint)(baseFreqHz / sr);
+ var periodTicks = (uint)(baseFreqHz / sr) - 2; // NB: -2 results from known issue in version 2 of DigitalIO device
120
device.WriteRegister(DigitalIO.SAMPLE_PERIOD, periodTicks);
121
} else
122
0 commit comments