Skip to content
Snippets Groups Projects
Commit 49ec7aa9 authored by shinedday's avatar shinedday
Browse files

Fix bug : some semaphore released instead of acquire

parent 2befe983
Branches
Tags
No related merge requests found
No preview for this file type
...@@ -39,7 +39,7 @@ class Schedulable(MqttClient): ...@@ -39,7 +39,7 @@ class Schedulable(MqttClient):
Basic wait method Basic wait method
""" """
# print("Waiting") # print("Waiting")
self.semaphore.release() self.semaphore.acquire()
# print("End wait") # print("End wait")
def exit_procedure(self, client, userdata, message) -> None: def exit_procedure(self, client, userdata, message) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment