diff --git a/CHANGELOG.md b/CHANGELOG.md index a55d986b..7a3f7376 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Starting from v2.2.5, all notable changes to this project will be documented in this file. +## v2.11.4 + +- Set non-zero start time when SeedLink DATA command has no extra argument + ## v2.11.3 - Response with OK when SeedLink DATA command has no extra argument diff --git a/driver/seedlink/data.go b/driver/seedlink/data.go index 6c38e279..d0166a54 100644 --- a/driver/seedlink/data.go +++ b/driver/seedlink/data.go @@ -12,6 +12,7 @@ type DATA struct{} // Callback of "DATA" command, implements SeedLinkCommandCallback interface func (*DATA) Callback(sl *SeedLinkGlobal, cl *SeedLinkClient, options *feature.FeatureOptions, streamer SeedLinkStreamer, conn net.Conn, args ...string) error { + cl.StartTime, _ = duration.Timestamp(options.Status.System.Offset) if len(args) > 0 { seq, err := strconv.ParseInt(args[0], 16, 64) if err != nil { @@ -19,7 +20,6 @@ func (*DATA) Callback(sl *SeedLinkGlobal, cl *SeedLinkClient, options *feature.F return err } cl.Sequence = seq + 1 - cl.StartTime, _ = duration.Timestamp(options.Status.System.Offset) } _, err := conn.Write([]byte(RES_OK)) return err diff --git a/frontend/dist/asset-manifest.json b/frontend/dist/asset-manifest.json index 661a6711..372565b9 100644 --- a/frontend/dist/asset-manifest.json +++ b/frontend/dist/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "./static/css/main.7a040865.css", - "main.js": "./static/js/main.7c7ab17f.js", + "main.js": "./static/js/main.f8fd078c.js", "static/css/594.d6bfd15f.chunk.css": "./static/css/594.d6bfd15f.chunk.css", "static/js/594.ef2a52fb.chunk.js": "./static/js/594.ef2a52fb.chunk.js", "static/js/846.a985bbed.chunk.js": "./static/js/846.a985bbed.chunk.js", @@ -49,6 +49,6 @@ }, "entrypoints": [ "static/css/main.7a040865.css", - "static/js/main.7c7ab17f.js" + "static/js/main.f8fd078c.js" ] } \ No newline at end of file diff --git a/frontend/dist/index.html b/frontend/dist/index.html index 99070c6c..1287b104 100644 --- a/frontend/dist/index.html +++ b/frontend/dist/index.html @@ -1 +1 @@ -