stratum, 6
This commit is contained in:
parent
fa0b168ad3
commit
f2d0d1ca94
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user