Skip to content

Commit

Permalink
Store device ID in Peripheral class
Browse files Browse the repository at this point in the history
  • Loading branch information
sindrehan committed Sep 21, 2023
1 parent 44ca21b commit 2dffdf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blueye/sdk/guestport.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def __init__(
self.serial_number: str = device.serial_number
self.depth_rating: float = device.depth_rating
self.required_blunux_version: str = device.required_blunux_version
self.device_id: bp.GuestPortDeviceID = device.device_id
if self.required_blunux_version != "":
if version.parse(self.required_blunux_version) > version.parse(

Check warning on line 28 in blueye/sdk/guestport.py

View check run for this annotation

Codecov / codecov/patch

blueye/sdk/guestport.py#L28

Added line #L28 was not covered by tests
parent_drone.software_version_short
Expand Down

0 comments on commit 2dffdf3

Please sign in to comment.