diff --git a/Cargo.toml b/Cargo.toml index fc9e5d3..cb92be1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,8 @@ epd4in2_fast_update = [] [dependencies] -embedded-graphics = "0.4.1" +#embedded-graphics = "0.4.1" +embedded-graphics = {git = "https://github.com/caemor/embedded-graphics", branch = "patch-1"} [dependencies.embedded-hal] diff --git a/examples/embedded_linux_epd4in2/Cargo.toml b/examples/embedded_linux_epd4in2/Cargo.toml index 237f292..3940b13 100644 --- a/examples/embedded_linux_epd4in2/Cargo.toml +++ b/examples/embedded_linux_epd4in2/Cargo.toml @@ -12,6 +12,6 @@ eink_waveshare_rs = { path = "../../", default-features = false, features = ["ep linux-embedded-hal = "0.2.0" #embedded-graphics = "0.4.1" -embedded-graphics = {git = "https://github.com/Caemor/embedded-graphics", branch = "patch-1"} +embedded-graphics = {git = "https://github.com/caemor/embedded-graphics", branch = "patch-1"} embedded-hal = { version = "0.2.1", features = ["unproven"] } diff --git a/examples/embedded_linux_epd4in2/src/main.rs b/examples/embedded_linux_epd4in2/src/main.rs index ba2089c..06d9312 100644 --- a/examples/embedded_linux_epd4in2/src/main.rs +++ b/examples/embedded_linux_epd4in2/src/main.rs @@ -18,6 +18,7 @@ use embedded_graphics::coord::Coord; use embedded_graphics::fonts::Font6x8; use embedded_graphics::prelude::*; use embedded_graphics::primitives::{Circle, Line}; +use embedded_graphics::Drawing; use lin_hal::spidev::{self, SpidevOptions}; use lin_hal::{Pin, Spidev};