fix: Correct 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-09-06 18:36:08 +00:00 committed by GitHub
parent eaa8989f37
commit 91447ac55c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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