finally rewire: set next blinking pattern key to set_next_color_whole_kb()

This commit is contained in:
Richard Sailer 2019-08-19 06:19:07 +02:00
parent e5d1aa8110
commit bf601f1eba

View file

@ -579,9 +579,13 @@ static void tuxedo_wmi_notify(u32 value, void *context)
break; break;
// case WMI_CODE_NEXT_BLINKING_PATTERN:
// set_blinking_pattern((kbd_led_state.blinking_pattern + 1) >
// (ARRAY_SIZE(blinking_patterns) - 1) ? 0 : (kbd_led_state.blinking_pattern + 1));
// break;
case WMI_CODE_NEXT_BLINKING_PATTERN: case WMI_CODE_NEXT_BLINKING_PATTERN:
set_blinking_pattern((kbd_led_state.blinking_pattern + 1) > set_next_color_whole_kb();
(ARRAY_SIZE(blinking_patterns) - 1) ? 0 : (kbd_led_state.blinking_pattern + 1));
break; break;
case WMI_CODE_TOGGLE_STATE: case WMI_CODE_TOGGLE_STATE: