diff --git a/Quisk_Files/quisk_conf_sdr-trx_UDP_16bit.py b/Quisk_Files/quisk_conf_sdr-trx_UDP_16bit.py index 36b4776..79c8773 100644 --- a/Quisk_Files/quisk_conf_sdr-trx_UDP_16bit.py +++ b/Quisk_Files/quisk_conf_sdr-trx_UDP_16bit.py @@ -203,9 +203,9 @@ def establish_connection(self): # if data == self.broadcast_message: self.isConnected = True except socket.error: + if self.PICO_UDP_IP is not None: + break # Exit the loop if self.PICO_UDP_IP is not None pass # No data available yet - if self.PICO_UDP_IP is not None: - break # Exit the loop if self.PICO_UDP_IP is not None def GetRxSamples(self): # Initialize packet counter and time marker