mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
blinking_pattern --> blinking_pattern_t
This commit is contained in:
parent
f6c08bf036
commit
690b43987a
|
@ -105,7 +105,7 @@ struct kbd_led_state_t {
|
||||||
u8 blinking_pattern;
|
u8 blinking_pattern;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct blinking_pattern {
|
struct blinking_pattern_t {
|
||||||
u8 key;
|
u8 key;
|
||||||
u32 value;
|
u32 value;
|
||||||
const char *const name;
|
const char *const name;
|
||||||
|
@ -190,7 +190,7 @@ static struct kbd_led_state_t kbd_led_state = {
|
||||||
.blinking_pattern = DEFAULT_BLINKING_PATTERN
|
.blinking_pattern = DEFAULT_BLINKING_PATTERN
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct blinking_pattern blinking_patterns[] = {
|
static struct blinking_pattern_t blinking_patterns[] = {
|
||||||
{ .key = 0,.value = 0,.name = "CUSTOM"},
|
{ .key = 0,.value = 0,.name = "CUSTOM"},
|
||||||
{ .key = 1,.value = 0x1002a000,.name = "BREATHE"},
|
{ .key = 1,.value = 0x1002a000,.name = "BREATHE"},
|
||||||
{ .key = 2,.value = 0x33010000,.name = "CYCLE"},
|
{ .key = 2,.value = 0x33010000,.name = "CYCLE"},
|
||||||
|
|
Loading…
Reference in a new issue