mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Filter out repeats for tilt wheels.
This commit is contained in:
parent
ae87dc1d82
commit
8ca1957d38
2 changed files with 2 additions and 0 deletions
|
|
@ -1023,6 +1023,7 @@ void SomfyShade::processFrame(somfy_frame_t &frame, bool internal) {
|
|||
break;
|
||||
case somfy_commands::MyUp:
|
||||
case somfy_commands::StepUp:
|
||||
if(this->lastFrame.repeats != 0) return;
|
||||
dir = 0;
|
||||
this->lastFrame.processed = true;
|
||||
// With the step commands and integrated shades
|
||||
|
|
@ -1037,6 +1038,7 @@ void SomfyShade::processFrame(somfy_frame_t &frame, bool internal) {
|
|||
break;
|
||||
case somfy_commands::MyDown:
|
||||
case somfy_commands::StepDown:
|
||||
if(this->lastFrame.repeats != 0) return;
|
||||
dir = 1;
|
||||
this->lastFrame.processed = true;
|
||||
// With the step commands and integrated shades
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue