From 9b9c2d307ef9f1dc86ba154befd98c4f3a7c5b59 Mon Sep 17 00:00:00 2001 From: Dhruv Venkataraman Date: Mon, 3 Oct 2022 00:03:36 -0400 Subject: wheept2 --- backend/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/app.py b/backend/app.py index 4382c7a..b6ff459 100644 --- a/backend/app.py +++ b/backend/app.py @@ -8,8 +8,9 @@ app = Flask(__name__) threadFlag = True def playFunction(freq): global threadFlag + os.system("beep -f"+ freq+" -l 100000 &") while not threadFlag: - os.system("beep -f"+ freq+" -l 100000") + pass #print("beep -f %f" % (freq)) thread2 = 0 -- cgit v1.2.3-70-g09d2