Fix keyboard max level
This commit is contained in:
parent
fb11bf952b
commit
0bea02cb05
4
kb.c
4
kb.c
|
|
@ -50,8 +50,8 @@ struct {
|
||||||
#undef C
|
#undef C
|
||||||
|
|
||||||
#define KB_COLOR_DEFAULT KB_COLOR_white
|
#define KB_COLOR_DEFAULT KB_COLOR_white
|
||||||
#define KB_BRIGHTNESS_MAX 10
|
#define KB_BRIGHTNESS_MAX 3
|
||||||
#define KB_BRIGHTNESS_DEFAULT KB_BRIGHTNESS_MAX
|
#define KB_BRIGHTNESS_DEFAULT 0
|
||||||
|
|
||||||
static int param_set_kb_color(const char *val, const struct kernel_param *kp)
|
static int param_set_kb_color(const char *val, const struct kernel_param *kp)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue