Skip to content

Commit

Permalink
Merge pull request #24 from sigpwny/fix-host-tools-success
Browse files Browse the repository at this point in the history
Fix host tools success condition
  • Loading branch information
WhiteHoodHacker committed Mar 12, 2023
2 parents d3080fd + 576d566 commit 4f5e3e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion host_tools/enable_tool
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def enable(fob_bridge, package_name):
try:
enable_success = fob_sock.recv(1)
if enable_success == b"\xAA":
print("Feature enabled successfully")
print("Enabled")
elif enable_success == b"\xBB":
print("Feature enabling failed")
else:
Expand Down
2 changes: 1 addition & 1 deletion host_tools/pair_tool
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def pair(unpaired_fob_bridge, paired_fob_bridge, pair_pin):
try:
pair_success = unpaired_sock.recv(1)
if pair_success == b"\xAA":
print("Fob paired successfully")
print("Paired")
elif pair_success == b"\xBB":
print("Fob pairing failed")
else:
Expand Down

0 comments on commit 4f5e3e4

Please sign in to comment.