[light] Fix ambiguous set_effect overload for const char* (#14732)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-03-12 18:28:25 -05:00
1 parent 25c74c8f99
commit fd8e510745
4 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -506,7 +506,7 @@ color_mode_bitmask_t LightCall::get_suitable_color_modes_mask_() {
LightCall &LightCall::set_effect(const char *effect, size_t len) {
if (len == 4 && strncasecmp(effect, "none", 4) == 0) {
this->set_effect(0);
this->set_effect(uint32_t{0});
return *this;
}