remove client socket bind code

This commit is contained in:
Tamaki Junji
2022-05-12 22:52:45 +09:00
parent 18269fa094
commit ceb33585b9

View File

@@ -110,7 +110,6 @@ class Tello:
if not threads_initialized:
# Run Tello command responses UDP receiver on background
client_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
client_socket.bind(('', Tello.CONTROL_UDP_PORT))
response_receiver_thread = Thread(target=Tello.udp_response_receiver)
response_receiver_thread.daemon = True
response_receiver_thread.start()