Merge branch 'fix_debug_message' into 'master'

Fix debug message

See merge request tuxedocomputers/development/packages/tuxedo-keyboard!53
This commit is contained in:
Christoffer 2023-05-16 08:54:49 +00:00
commit d4dac19290

View file

@ -77,14 +77,14 @@ static void color_scaling(enum clevo_kb_backlight_types *type, u8 *red, u8 *gree
static int clevo_evaluate_set_white_brightness(u8 brightness) static int clevo_evaluate_set_white_brightness(u8 brightness)
{ {
pr_debug("Set white brightness on %d\n", brightness); pr_debug("Set white brightness to %d\n", brightness);
return clevo_evaluate_method (CLEVO_CMD_SET_KB_WHITE_LEDS, brightness, NULL); return clevo_evaluate_method (CLEVO_CMD_SET_KB_WHITE_LEDS, brightness, NULL);
} }
static int clevo_evaluate_set_rgb_brightness(u8 brightness) static int clevo_evaluate_set_rgb_brightness(u8 brightness)
{ {
pr_debug("Set RGB brightness on %d\n", brightness); pr_debug("Set RGB brightness to %d\n", brightness);
return clevo_evaluate_method (CLEVO_CMD_SET_KB_RGB_LEDS, CLEVO_CMD_SET_KB_LEDS_SUB_RGB_BRIGHTNESS | brightness, NULL); return clevo_evaluate_method (CLEVO_CMD_SET_KB_RGB_LEDS, CLEVO_CMD_SET_KB_LEDS_SUB_RGB_BRIGHTNESS | brightness, NULL);
} }