Skip to content

Commit

Permalink
Merge pull request #119 from still-learnin/master
Browse files Browse the repository at this point in the history
Make the response for the Transport Layer Command optional
  • Loading branch information
christoph2 committed Sep 19, 2022
2 parents 29f3ef4 + 1be37f3 commit 94e3426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxcp/master/master.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def transportLayerCmd(self, subCommand: int, data: bytes):
----
For details refer to XCP specification.
"""
return self.transport.request(types.Command.TRANSPORT_LAYER_CMD, subCommand, *data)
return self.transport.request_optional_response(types.Command.TRANSPORT_LAYER_CMD, subCommand, *data)

@wrapped
def userCmd(self, subCommand: int, data: bytes):
Expand Down

0 comments on commit 94e3426

Please sign in to comment.