mirror of https://bitbucket.org/ausocean/av.git
psi: not using named byte in asByte
This commit is contained in:
parent
fc7f5501e0
commit
cda6999639
|
@ -291,9 +291,9 @@ func (e *ESSD) Bytes() []byte {
|
|||
return out
|
||||
}
|
||||
|
||||
func asByte(b bool) (o byte) {
|
||||
func asByte(b bool) byte {
|
||||
if b {
|
||||
o = 0x01
|
||||
return 0x01
|
||||
}
|
||||
return
|
||||
return 0x00
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue