Skip to content

Commit

Permalink
Increase EC status wait timeout to 10 ms
Browse files Browse the repository at this point in the history
A user was having some trouble reading from EC consistently
  • Loading branch information
Sparronator9999 committed Jan 3, 2025
1 parent 6b89860 commit 125bdcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YAMDCC.ECAccess/EC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private enum ECCommand : byte
/// to wait for an EC status.
/// </summary>
private static readonly long ECStatusTimeoutTicks =
Stopwatch.Frequency / 200; // 5 ms, should be plenty for EC status waits
Stopwatch.Frequency / 100; // 10 ms, should be plenty for EC status waits

/// <summary>
/// Used to synchronise EC access.
Expand Down

0 comments on commit 125bdcc

Please sign in to comment.