aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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