aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhruv Venkataraman2022-10-03 00:03:36 -0400
committerDhruv Venkataraman2022-10-03 00:03:36 -0400
commit9b9c2d307ef9f1dc86ba154befd98c4f3a7c5b59 (patch)
treececfb30a1d65e4c38d922bc3616a279b9e1c3bd9
parent05ef2780215f1348b5ea326a909ebd6b1d51edf8 (diff)
wheept2
-rw-r--r--backend/app.py3
1 files changed, 2 insertions, 1 deletions
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