stratum, 6

This commit is contained in:
Wolfgang Hottgenroth 2025-02-11 10:24:57 +01:00
parent fa0b168ad3
commit f2d0d1ca94

View File

@ -47,7 +47,7 @@ func Start() {
status = "Error"
} else {
rootdisp = resp.RootDispersion.Seconds() * 1000
stratum = resp.Stratum
stratum = int(resp.Stratum)
}
message.Variables["rootdisp"] = variable_t {
@ -60,7 +60,7 @@ func Start() {
message.Variables["stratum"] = variable_t {
Label: "stratum",
Variable: "",
Value: strconv.FormatUint(uint64(stratum), 10),
Value: strconv.Itoa(stratum),
Unit: "ms",
Status: status,
}