Skip to content

Commit

Permalink
Fix 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 committed Jul 16, 2024
1 parent 7bd74a6 commit df23e85
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 df23e85

Please sign in to comment.