small fix

This commit is contained in:
2026-03-05 18:07:28 +00:00
parent ce0b030d7e
commit f8d483dd62
+2 -2
View File
@@ -26,7 +26,7 @@ type IRacing struct {
// Timing information
initialTime time.Time
lastMessageTime time.Time
ticker time.Ticker // ticker will keep polling intervals constant
ticker *time.Ticker // ticker will keep polling intervals constant
// Stream
streamCh chan telem.TelemetryData
@@ -55,7 +55,7 @@ func NewIRacingProvider(source string, telemOut string, yamlOut string) (*IRacin
SDK: sdk,
data: telem.NewTelemetryData(),
streamCh: make(chan telem.TelemetryData),
ticker: *time.NewTicker(time.Second / 60),
ticker: time.NewTicker(time.Second / 60),
}, nil
}