Prepare release

- fix cargo fmt error
- rename forgotten stuff
This commit is contained in:
Chris
2018-11-06 15:50:47 +01:00
parent eeb89dfa1d
commit b9395b5eff
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
//! # Example for the 1.54 in E-Ink Display
//!
//! ```ignore
//! use eink_waveshare_rs::{
//! use epd_waveshare::{
//! epd1in54::{EPD1in54, Buffer1in54},
//! graphics::{Display, DisplayRotation},
//! prelude::*,
+2 -2
View File
@@ -5,7 +5,7 @@
//! # Example for the 2.9 in E-Ink Display
//!
//! ```ignore
//! use eink_waveshare_rs::{
//! use epd_waveshare::{
//! epd2in9::{EPD2in9, Buffer2in9},
//! graphics::{Display, DisplayRotation},
//! prelude::*,
@@ -221,7 +221,7 @@ where
// clear the ram with the background color
let color = self.background_color.get_byte_value();
self.interface.cmd(spi, Command::WRITE_RAM)?;
self.interface.data_x_times(spi, color, WIDTH / 8 * HEIGHT)
}