remove obsolete prints

This commit is contained in:
Tomasz Frątczak 2023-11-18 01:11:53 +01:00
parent d6a111ede7
commit c04197e7ae
1 changed files with 0 additions and 2 deletions

View File

@ -24,7 +24,6 @@ async def setSpeed(speed):
@app.route("/speed/increase", methods=["POST"])
async def setIncreaseSpeed():
print("increase speed")
currentSpeed = await fan.readSpeed()
newSpeed = 0
if currentSpeed < 25:
@ -42,7 +41,6 @@ async def setIncreaseSpeed():
@app.route("/speed/decrease", methods=["POST"])
async def setDecreaseSpeed():
print("decrease speed")
currentSpeed = await fan.readSpeed()
newSpeed = 0
if currentSpeed == 100: