remove obsolete prints
This commit is contained in:
parent
d6a111ede7
commit
c04197e7ae
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue