Fix binary strobe (#2301)

This commit is contained in:
Jesse Hills 2021-09-14 22:59:15 +12:00 committed by GitHub
parent d437cc915c
commit 4cc2817fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ class StrobeLightEffect : public LightEffect {
if (!color.is_on()) {
// Don't turn the light off, otherwise the light effect will be stopped
call.set_brightness_if_supported(0.0f);
call.set_brightness(0.0f);
call.set_state(true);
}
call.set_publish(false);