Skip to content

Commit

Permalink
fix: bad version check that would fail for CCOS v2+
Browse files Browse the repository at this point in the history
Co-authored-by: Raymond Li <[email protected]>
  • Loading branch information
GetPsyched and Raymo111 committed Jul 3, 2024
1 parent e446f5b commit 16df8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charachorder/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def charachorder_shell(device: charachorder.CharaChorder) -> None:
print(f"{device.get_id()} ({device.connection.port})")
version = device.get_version()
print("CCOS" if version[0] == "1" else "Firmware version", version)
print("Firmware version" if version[0] == "0" else "CCOS", version)

while True:
try:
Expand Down

0 comments on commit 16df8fc

Please sign in to comment.