mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Code cleanup
Clean up code for version 1.0.9
This commit is contained in:
parent
92ea0f6c99
commit
0ab2444104
7 changed files with 35 additions and 16 deletions
|
|
@ -604,7 +604,8 @@ void SomfyShade::moveToTarget(uint8_t target) {
|
|||
Serial.print("% using ");
|
||||
Serial.println(translateSomfyCommand(cmd));
|
||||
this->target = target;
|
||||
this->seekingPos = true;
|
||||
if(target > 0 && target != 100) this->seekingPos = true;
|
||||
else this->seekingPos = false;
|
||||
SomfyRemote::sendCommand(cmd);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue