Filter out repeats for tilt wheels.

This commit is contained in:
Robert Strouse 2023-04-25 09:33:25 -07:00
parent ae87dc1d82
commit 8ca1957d38
2 changed files with 2 additions and 0 deletions

View file

@ -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

Binary file not shown.