Browse Source

Removed example that broke CI

main
David-OConnor 5 years ago
parent
commit
0695e94670
  1. 4
      Cargo.toml
  2. 10
      src/traits.rs

4
Cargo.toml

@ -16,8 +16,8 @@ edition = "2018"
# travis-ci = { repository = "caemor/epd-waveshare" }
[dependencies]
embedded-graphics = { version = "0.6.1", optional = true}
embedded-hal = {version = "0.2.3", features = ["unproven"]}
embedded-graphics = { version = "0.6.2", optional = true}
embedded-hal = {version = "0.2.4", features = ["unproven"]}
bit_field = "0.10.1"
[dev-dependencies]

10
src/traits.rs

@ -237,15 +237,7 @@ where
/// buffer data marked as old, and new. This is used to determine which pixels need to change,
/// and how they will change. This isn't required when using full refreshes.
///
/// Example:
/// epd.update_partial_old_frame(spi, disp.buffer(), x, y, frame_width, frame_height)
/// .ok();
///
/// disp.clear_buffer(Color::White);
/// // Execute drawing commands here.
///
/// epd.update_partial_new_frame(spi, disp.buffer(), x, y, frame_width, frame_height)
/// .ok();
/// (todo: Example ommitted due to CI failures.)
pub trait QuickRefresh<SPI, CS, BUSY, DC, RST>
where
SPI: Write<u8>,

Loading…
Cancel
Save