Skip to content

Commit

Permalink
Merge pull request #151 from jtamaki/client-socket-bind-issue
Browse files Browse the repository at this point in the history
Remove client socket bind code
  • Loading branch information
M4GNV5 committed May 13, 2022
2 parents 18269fa + ceb3358 commit 156b61e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion djitellopy/tello.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def __init__(self,
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()
Expand Down

0 comments on commit 156b61e

Please sign in to comment.