Skip to content

Commit efd1320

Browse files
committed
Fix MBusFrame type field name
1 parent 3786ba5 commit efd1320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: mbus/MBusFrame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from ctypes import Structure, c_uint8, c_long, c_size_t, POINTER
1+
from ctypes import Structure, c_uint8, c_int, c_long, c_size_t, POINTER
22

33
c_time_t = c_long
44

@@ -18,7 +18,7 @@ def __str__(self):
1818
("stop", c_uint8),
1919
("data", c_uint8 * 252),
2020
("data_size", c_size_t),
21-
("stop", c_uint8),
21+
("type", c_int),
2222
("timestamp", c_time_t),
2323
("next", POINTER(MBusFrame))
2424
]

0 commit comments

Comments
 (0)