Skip to content

Commit 7a73b10

Browse files
committed
Doh... calculate the message size correctly. ;-)
1 parent 4b6ba6d commit 7a73b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ble/advertising/adafruit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class AdafruitRadio(Advertisement):
6969
0x6,
7070
_MANUFACTURING_DATA_ADT,
7171
_ADAFRUIT_COMPANY_ID,
72-
struct.calcsize("<HI"),
72+
struct.calcsize("<H24s"),
7373
_RADIO_DATA_ID)
7474
manufacturer_data = LazyField(ManufacturerData,
7575
"manufacturer_data",

0 commit comments

Comments
 (0)