From 499682c1f2c4e634b36f14f249794b7806efc392 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')