Fix keyboard max level

This commit is contained in:
Jeremy Soller 2018-02-14 12:15:38 -07:00
parent fb11bf952b
commit 0bea02cb05
1 changed files with 7 additions and 7 deletions

4
kb.c
View File

@ -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)
{ {