fix
This commit is contained in:
parent
fdda095aff
commit
3f7ff4aa81
|
@ -132,7 +132,7 @@ func yunhorn_ys_l_v1(data_buf []byte) {
|
||||||
demoDevice.DATA["data"+strconv.Itoa(3)] = 0
|
demoDevice.DATA["data"+strconv.Itoa(3)] = 0
|
||||||
|
|
||||||
//485
|
//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]
|
demoDevice.DATA["data"+strconv.Itoa(8)] = data_int[0]
|
||||||
var device Device
|
var device Device
|
||||||
device.Lock()
|
device.Lock()
|
||||||
|
|
Loading…
Reference in New Issue