epd7in5 HD: Formatted with cargo fmt

main
pi 2021-04-14 15:22:33 +01:00
parent ba1243137d
commit 72e6b82b2d
1 changed files with 2 additions and 1 deletions

View File

@ -182,7 +182,8 @@ where
for cmd in &[Command::WRITE_RAM_BW, Command::WRITE_RAM_RED] { for cmd in &[Command::WRITE_RAM_BW, Command::WRITE_RAM_RED] {
self.command(spi, *cmd)?; self.command(spi, *cmd)?;
self.interface.data_x_times(spi, background_color_byte, pixel_count)?; self.interface
.data_x_times(spi, background_color_byte, pixel_count)?;
} }
self.cmd_with_data(spi, Command::DISPLAY_UPDATE_CONTROL_2, &[0xF7])?; self.cmd_with_data(spi, Command::DISPLAY_UPDATE_CONTROL_2, &[0xF7])?;