mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Enable extra region when it exists, instead of when it doesn't
This commit is contained in:
parent
92addaaa27
commit
64ca37889f
|
@ -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