MCPcopy Index your code
hub / github.com/FrameworkComputer/inputmodule-rs / commit_cols

Function commit_cols

inputmodule-control/src/inputmodule.rs:523–525  ·  view source on GitHub ↗

Commit the changes from sending individual cols with send_col(), displaying the matrix. This makes sure that the matrix isn't partially updated.

(port: &mut Box<dyn SerialPort>)

Source from the content-addressed store, hash-verified

521/// Commit the changes from sending individual cols with send_col(), displaying the matrix.
522/// This makes sure that the matrix isn't partially updated.
523fn commit_cols(port: &mut Box<dyn SerialPort>) {
524 simple_cmd_port(port, Command::CommitCols, &[]);
525}
526
527///Increase the brightness with each pixel.
528///Only 0-255 available, so it can't fill all 306 LEDs

Callers 2

all_brightnesses_cmdFunction · 0.70
display_gray_image_cmdFunction · 0.70

Calls 1

simple_cmd_portFunction · 0.85

Tested by

no test coverage detected