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:
ReFil 2024-07-16 09:35:28 +01:00
parent 7bd74a6b0f
commit df23e85659

View file

@ -68,7 +68,7 @@ static const struct behavior_parameter_value_metadata one_arg_p2_values[] = {
.range =
{
.min = 0,
.max = 255,
.max = 100,
},
},
};