Skip to content

Commit

Permalink
Save the us4OEM firmware version as hex string in Python.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjarosik committed Apr 11, 2022
1 parent 6c1841f commit 4826cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/python/arrus/devices/us4r.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def firmware_version(self):
for i in range(self.n_us4oems):
dev = self.get_us4oem(i)
ver = {
"main": dev.get_firmware_version(),
"tx": dev.get_tx_firmware_version()
"main": f"{dev.get_firmware_version():x}",
"tx": f"{dev.get_tx_firmware_version():x}"
}
us4oem_ver.append(ver)
result["Us4OEM"] = us4oem_ver
Expand Down

0 comments on commit 4826cc9

Please sign in to comment.