forked from auracaster/bumble_mirror
Submitting review comment fix: header function and extra lines.
This commit is contained in:
@@ -138,8 +138,8 @@ class SetProtocolMessage(Message):
|
|||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class SendData(Message):
|
class SendData(Message):
|
||||||
message_type = Message.MessageType.DATA
|
|
||||||
data : bytes
|
data : bytes
|
||||||
|
message_type = Message.MessageType.DATA
|
||||||
|
|
||||||
def __bytes__(self) -> bytes:
|
def __bytes__(self) -> bytes:
|
||||||
return self.header(Message.ReportType.OUTPUT_REPORT) + self.data
|
return self.header(Message.ReportType.OUTPUT_REPORT) + self.data
|
||||||
|
|||||||
Reference in New Issue
Block a user