mirror of https://bitbucket.org/ausocean/av.git
psi: removed more unnecessary conversions
This commit is contained in:
parent
83e4a4c5c5
commit
2284d38492
|
@ -38,16 +38,16 @@ var (
|
|||
Tid: 0x00,
|
||||
Ssi: true,
|
||||
Pb: false,
|
||||
Sl: uint16(0x0d),
|
||||
Sl: 0x0d,
|
||||
Tss: &TSS{
|
||||
Tide: uint16(0x01),
|
||||
Tide: 0x01,
|
||||
V: 0,
|
||||
Cni: true,
|
||||
Sn: 0,
|
||||
Lsn: 0,
|
||||
Sd: &PAT{
|
||||
Pn: uint16(0x01),
|
||||
Pmpid: uint16(0x1000),
|
||||
Pn: 0x01,
|
||||
Pmpid: 0x1000,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -57,9 +57,9 @@ var (
|
|||
Pf: 0x00,
|
||||
Tid: 0x02,
|
||||
Ssi: true,
|
||||
Sl: uint16(0x12),
|
||||
Sl: 0x12,
|
||||
Tss: &TSS{
|
||||
Tide: uint16(0x01),
|
||||
Tide: 0x01,
|
||||
V: 0,
|
||||
Cni: true,
|
||||
Sn: 0,
|
||||
|
@ -81,9 +81,9 @@ var (
|
|||
Pf: 0x00,
|
||||
Tid: 0x02,
|
||||
Ssi: true,
|
||||
Sl: uint16(0x3e),
|
||||
Sl: 0x3e,
|
||||
Tss: &TSS{
|
||||
Tide: uint16(0x01),
|
||||
Tide: 0x01,
|
||||
V: 0,
|
||||
Cni: true,
|
||||
Sn: 0,
|
||||
|
@ -93,13 +93,13 @@ var (
|
|||
Pil: pmtTimeLocationPil,
|
||||
Pd: []Desc{
|
||||
Desc{
|
||||
Dt: byte(timeDescTag),
|
||||
Dl: byte(timeDataSize),
|
||||
Dt: timeDescTag,
|
||||
Dl: timeDataSize,
|
||||
Dd: make([]byte, timeDataSize),
|
||||
},
|
||||
Desc{
|
||||
Dt: byte(locationDescTag),
|
||||
Dl: byte(locationDataSize),
|
||||
Dt: locationDescTag,
|
||||
Dl: locationDataSize,
|
||||
Dd: make([]byte, locationDataSize),
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue