Skip to content

Commit 79bbc2e

Browse files
committed
gap/linux: add helpful comment
Signed-off-by: deadprogram <[email protected]>
1 parent 57f82b6 commit 79bbc2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gap_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ func makeScanResult(props *device.Device1Properties) ScanResult {
246246

247247
mData := make(map[uint16][]byte)
248248
for k, v := range props.ManufacturerData {
249+
// can be either variant or just byte value
249250
switch val := v.(type) {
250251
case dbus.Variant:
251252
mData[k] = val.Value().([]byte)

0 commit comments

Comments
 (0)