(state: &mut LedmatrixState, brightness: u8, matrix: &mut Foo)
| 316 | } |
| 317 | |
| 318 | pub fn set_brightness(state: &mut LedmatrixState, brightness: u8, matrix: &mut Foo) { |
| 319 | state.brightness = brightness; |
| 320 | fill_grid_pixels(state, matrix); |
| 321 | } |
| 322 | |
| 323 | /// Just sends two I2C commands for the entire grid |
| 324 | pub fn fill_grid_pixels(state: &LedmatrixState, matrix: &mut Foo) { |
no test coverage detected