chore: make comments consistent
This commit is contained in:
parent
c3e98c83d8
commit
82a933033e
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ func (h *handler) HandleCoils(req *mbserver.CoilsRequest) ([]bool, error) {
|
|||
}
|
||||
|
||||
if req.WriteFuncCode == gridx.FuncCodeWriteSingleCoil {
|
||||
h.log.TRACE.Printf("write coil: id %d addr %d val %t", req.UnitId, req.Addr, req.Args[0])
|
||||
h.log.TRACE.Printf("write single coil: id %d addr %d val %t", req.UnitId, req.Addr, req.Args[0])
|
||||
var u uint16
|
||||
if req.Args[0] {
|
||||
u = 0xFF00
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue