Update btserver.py

master
Zhengyu Peng 3 years ago
parent 6199bb77c4
commit 2e55b0af23

@ -1,6 +1,9 @@
#!python #!python
# #
# 2021 Zhengyu Peng # Bluetooth server thread
# Monitor the Bluetooth connection and receive commands
#
# 2021 - PRESENT Zhengyu Peng
# Website: https://zpeng.me # Website: https://zpeng.me
# #
# ` ` # ` `
@ -97,7 +100,6 @@ class BluetoothServer(Thread):
if data: if data:
self.cmd_queue.put(data.decode()) self.cmd_queue.put(data.decode())
else: else:
self.cmd_queue.put('standby')
break break
finally: finally:

Loading…
Cancel
Save