mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Merge pull request #11 from Darael/bugfix/10-extra-region
Enable extra region when it exists, instead of when it doesn't
This commit is contained in:
commit
1b2d7ecfbf
|
@ -200,7 +200,7 @@ static int __init tuxdeo_keyboard_init(void)
|
|||
TUXEDO_ERROR("Sysfs attribute creation failed for color right\n");
|
||||
}
|
||||
|
||||
if(set_color(REGION_EXTRA, KB_COLOR_DEFAULT) == 0)
|
||||
if(set_color(REGION_EXTRA, KB_COLOR_DEFAULT) != 0)
|
||||
{
|
||||
TUXEDO_DEBUG("Keyboard does not support EXTRA Color");
|
||||
keyboard.has_extra = 0;
|
||||
|
|
Loading…
Reference in a new issue