Skip to content

Commit 20ac189

Browse files
authored
Merge pull request #32 from iand/master
Fix device type constant numbering
2 parents c3ad5f2 + b964dc4 commit 20ac189

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

openrtb.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ const (
124124

125125
// 5.17 Device Type
126126
const (
127-
DeviceTypeUnknown = 1
128-
DeviceTypeMobile = 2
129-
DeviceTypePC = 3
130-
DeviceTypeTV = 4
131-
DeviceTypePhone = 5
132-
DeviceTypeTablet = 6
133-
DeviceTypeConnected = 7
134-
DeviceTypeSetTopBox = 8
127+
DeviceTypeUnknown = 0
128+
DeviceTypeMobile = 1
129+
DeviceTypePC = 2
130+
DeviceTypeTV = 3
131+
DeviceTypePhone = 4
132+
DeviceTypeTablet = 5
133+
DeviceTypeConnected = 6
134+
DeviceTypeSetTopBox = 7
135135
)
136136

137137
// 5.18 Connection Type

0 commit comments

Comments
 (0)