From bf8934a202566c9bad8e2631ad51f7d149dc679c Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Wed, 23 Feb 2022 13:03:33 -0500 Subject: [PATCH] Update btserver.py --- software/raspberry pi/btserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/raspberry pi/btserver.py b/software/raspberry pi/btserver.py index f9f864a..cf24fc1 100644 --- a/software/raspberry pi/btserver.py +++ b/software/raspberry pi/btserver.py @@ -76,7 +76,7 @@ class BluetoothServer(Thread): pass else: while True: - self.cmd_queue.put('standby') + self.cmd_queue.put('standby:') # Wait for a connection # print('wait for a connection') # self.status.emit(self.LISTEN, '') @@ -105,5 +105,5 @@ class BluetoothServer(Thread): finally: self.bt_socket.close() - self.cmd_queue.put('standby') + self.cmd_queue.put('standby:') print('exit')