Fix max brightness in backlight metadata
The set brightness function in the backlighting code has a max of 100., as does the zephyr led-pwm driver https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/led/led_pwm.c The range for the set brightness function should reflect this max
This commit is contained in:
parent
7bd74a6b0f
commit
df23e85659
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ static const struct behavior_parameter_value_metadata one_arg_p2_values[] = {
|
|||
.range =
|
||||
{
|
||||
.min = 0,
|
||||
.max = 255,
|
||||
.max = 100,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue