mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 19:12:10 +01:00
treewide: fix warnings
This commit is contained in:
parent
60f8c629bf
commit
82afcbedc0
5 changed files with 43 additions and 18 deletions
2
Web.cpp
2
Web.cpp
|
|
@ -229,7 +229,7 @@ void Web::begin() {
|
|||
Serial.print("Received:");
|
||||
Serial.println(apiServer.arg("plain"));
|
||||
// Send the command to the shade.
|
||||
if(target >= 0 && target <= 100)
|
||||
if(target <= 100)
|
||||
shade->moveToTiltTarget(target);
|
||||
else
|
||||
shade->sendTiltCommand(command);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue