Skip to content

Commit

Permalink
fix: Correct max brightness in backlight metadata
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ReFil authored Sep 6, 2024
1 parent eaa8989 commit 91447ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/behaviors/behavior_backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static const struct behavior_parameter_value_metadata one_arg_p2_values[] = {
.range =
{
.min = 0,
.max = 255,
.max = 100,
},
},
};
Expand Down

0 comments on commit 91447ac

Please sign in to comment.