From 0695e9467089291076b9f596826e5c24458f7a91 Mon Sep 17 00:00:00 2001 From: David-OConnor Date: Thu, 21 Jan 2021 21:29:37 +0400 Subject: [PATCH] Removed example that broke CI --- Cargo.toml | 4 ++-- src/traits.rs | 10 +--------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5d69b64..c340fa8 100644 --- a/Cargo.toml +++ b/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] diff --git a/src/traits.rs b/src/traits.rs index 0478874..044185a 100644 --- a/src/traits.rs +++ b/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 where SPI: Write,