From 62a620c0561274bc7c13ebade4a28474348f8a7f Mon Sep 17 00:00:00 2001 From: "Thomas H.P. Andersen" Date: Tue, 29 Sep 2020 00:25:42 +0200 Subject: [PATCH] sinowealth: use commonly available breathing mode The DM5 does not have the RGB_BREATHING1 mode, but does have the RGB_BREATHING7 mode. This changes the driver to map to the commonly available mode. --- src/driver-sinowealth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver-sinowealth.c b/src/driver-sinowealth.c index 6d62a075..54522477 100644 --- a/src/driver-sinowealth.c +++ b/src/driver-sinowealth.c @@ -481,7 +481,7 @@ sinowealth_commit(struct ratbag_device *device) config->glorious_mode = sinowealth_led_to_rgb_mode(led); break; case RATBAG_LED_BREATHING: - config->rgb_effect = RGB_BREATHING1; + config->rgb_effect = RGB_BREATHING7; config->breathing1_color = sinowealth_color_to_rbg(led->color); config->breathing1_mode = sinowealth_led_to_rgb_mode(led); break;