This commit is contained in:
fish 2019-03-23 10:15:30 +08:00
parent fdda095aff
commit 3f7ff4aa81
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ func yunhorn_ys_l_v1(data_buf []byte) {
demoDevice.DATA["data"+strconv.Itoa(3)] = 0
//485
if data_int0==0 && data_int1==0 {
if data_int0[0]==0 && data_int1[0]==0 {
demoDevice.DATA["data"+strconv.Itoa(8)] = data_int[0]
var device Device
device.Lock()