mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
run cargo fmt
This commit is contained in:
@@ -80,7 +80,8 @@ fn main() -> Result<(), std::io::Error> {
|
||||
display.set_rotation(DisplayRotation::Rotate270);
|
||||
draw_text(&mut display, "Rotation 270!", 5, 50);
|
||||
|
||||
epd2in13.update_and_display_frame(&mut spi, &display.buffer(), &mut delay)
|
||||
epd2in13
|
||||
.update_and_display_frame(&mut spi, &display.buffer(), &mut delay)
|
||||
.expect("display frame new graphics");
|
||||
|
||||
println!("First frame done. Waiting 5s");
|
||||
|
||||
Reference in New Issue
Block a user