fix bug
This commit is contained in:
parent
ea2739f690
commit
4a64819201
|
|
@ -190,7 +190,7 @@ func metricsHandler(response http.ResponseWriter, request *http.Request) {
|
|||
fmt.Fprintf(response, " ")
|
||||
}
|
||||
|
||||
fmt.Fprintf(response, "[%d, %s, %s, %s, %d]\n", a, s[9], s[10], s[11], vbat2percent(s[10]))
|
||||
fmt.Fprintf(response, "[%d, %s, %s, %s, %d]\n", a, s[9], s[10], s[11], vbat2percent(s[12]))
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue