Skip to content

Commit df6335f

Browse files
committed
10^9 ns in a s, not 10^6
1 parent 48f3528 commit df6335f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/QuadRotary/QuadRotary.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class QuadRotary {
3737

3838
public nonisolated static let NumEncoders = UInt8(4)
3939
public nonisolated static let DefaultPollInterval: Duration =
40-
.nanoseconds(UInt64(1_000_000.0 / Float(30)))
40+
.nanoseconds(UInt64(1_000_000_000.0 / Float(30)))
4141

4242
public struct Event: Sendable {
4343
public let index: UInt8

0 commit comments

Comments
 (0)