fix h2s data parse
This commit is contained in:
parent
737abf6f2b
commit
1898095d9a
|
@ -414,7 +414,7 @@ func dealDatav3(data []byte) string{
|
||||||
|
|
||||||
buffer = new(bytes.Buffer)
|
buffer = new(bytes.Buffer)
|
||||||
h2sint1 := strconv.Itoa(int(data[13]))
|
h2sint1 := strconv.Itoa(int(data[13]))
|
||||||
buffer.WriteString(nh3int1)
|
buffer.WriteString(h2sint1)
|
||||||
buffer.WriteString(".")
|
buffer.WriteString(".")
|
||||||
h2sint2 := strconv.Itoa(int(data[14]))
|
h2sint2 := strconv.Itoa(int(data[14]))
|
||||||
if int64(data[14])<10{
|
if int64(data[14])<10{
|
||||||
|
|
Loading…
Reference in New Issue