Skip to content

Add colorUpdated call - #2236

Merged
blazoncek merged 1 commit into
wled:masterfrom
scottrbailey:ir_bri_fix
Sep 29, 2021
Merged

blazoncek merged 1 commit into
wled:masterfrom
scottrbailey:ir_bri_fix

Conversation

@scottrbailey

@scottrbailey scottrbailey commented Sep 28, 2021 •

Copy link
Copy Markdown
Contributor

After AC refactored, changes in brightness and on/off using "&T=" don't work.

See issue #2231

Comment thread wled00/ir.cpp
handleSet(nullptr, cmdStr, false);
}
}
colorUpdated(CALL_MODE_BUTTON);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this belong to a line above closing brace? Immediately after handleSet().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is there because it needs called for incBrightness, decBrightness also. I haven’t tested it. But I think we could remove it here, add it after each of those calls and pass apply=true to handleSet if you prefer. However, doing so may not sync to other nodes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, no.
Thanks for clarifying. It makes sense.

@blazoncek
blazoncek merged commit 7d929dc into wled:master Sep 29, 2021
blazoncek added a commit that referenced this pull request May 28, 2023
  - #2236
  - #1984
Better PSRAM handling
platformio.ini update
On/Off bus handling
aenertia pushed a commit to aenertia/WLED that referenced this pull request Aug 18, 2026
aenertia pushed a commit to aenertia/WLED that referenced this pull request Aug 18, 2026
  - wled#2236
  - wled#1984
Better PSRAM handling
platformio.ini update
On/Off bus handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants