Skip to content

Commit

Permalink
Merge pull request #500 from Gadgeteering/master
Browse files Browse the repository at this point in the history
Add serial number reader to log
  • Loading branch information
gemenerik authored Dec 9, 2024
2 parents 4a681d1 + aed7950 commit 57c4b18
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cflib/crtp/radiodriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,12 +455,14 @@ def scan_interface(self, address):
except Exception as e:
print(e)
return []

# FIXME: implements serial number in the Crazyradio driver!
serial = 'N/A'
try:
serial = crazyradio.get_serials()
except Exception as e:
print(e)
serial = 'N/A'

logger.info('v%s dongle with serial %s found', self._radio.version,
serial)
serial[0])
found = []

if address is not None:
Expand Down

0 comments on commit 57c4b18

Please sign in to comment.