Skip to main content

set_brightness

Function set_brightness 

Source
pub fn set_brightness(brightness: u8)
Expand description

Sets the config-driven brightness (0–255) used by LedStatus::Ok and LedStatus::Warning.

Pushed by crate::config::Config::apply; the default matches Config::default().led_brightness.