Closed donaldt10ydt closed 6 years ago
origin code send high byte to low layer, but its value is always 0. new code send high byte to low layer as following: senseBuffer.WriteByte(byte(asc >> 8) & 0xff)
Hello @donaldt10ydt ,
Thanks for this patch, but the travis-ci report a format issue, would you please gofmt it?
gofmt
origin code send high byte to low layer, but its value is always 0. new code send high byte to low layer as following: senseBuffer.WriteByte(byte(asc >> 8) & 0xff)