aboutsummaryrefslogtreecommitdiff
path: root/backend/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/app.py')
-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