Updating the flushing logic for LEDs strips