Update btserver.py
This commit is contained in:
parent
6199bb77c4
commit
2e55b0af23
@ -1,6 +1,9 @@
|
||||
#!python
|
||||
#
|
||||
# 2021 Zhengyu Peng
|
||||
# Bluetooth server thread
|
||||
# Monitor the Bluetooth connection and receive commands
|
||||
#
|
||||
# 2021 - PRESENT Zhengyu Peng
|
||||
# Website: https://zpeng.me
|
||||
#
|
||||
# ` `
|
||||
@ -97,7 +100,6 @@ class BluetoothServer(Thread):
|
||||
if data:
|
||||
self.cmd_queue.put(data.decode())
|
||||
else:
|
||||
self.cmd_queue.put('standby')
|
||||
break
|
||||
|
||||
finally:
|
||||
|
Loading…
x
Reference in New Issue
Block a user