diff --git a/cflib/crtp/radiodriver.py b/cflib/crtp/radiodriver.py index 2d805f7c1..52095ad04 100644 --- a/cflib/crtp/radiodriver.py +++ b/cflib/crtp/radiodriver.py @@ -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: