Skip to main content

next_brightness

Function next_brightness 

Source
fn next_brightness(current: u8) -> u8
Expand description

Next BRIGHTNESS_LEVELS step above current, wrapping to the dimmest level after the brightest one.