mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-04 06:16:42 +00:00
Featuregate the graphics modules
This commit makes it possible to compile without the included graphics features
This commit is contained in:
@@ -47,6 +47,7 @@ extern crate embedded_hal as hal;
|
|||||||
|
|
||||||
use hal::spi::{Mode, Phase, Polarity};
|
use hal::spi::{Mode, Phase, Polarity};
|
||||||
|
|
||||||
|
#[cfg(feature = "graphics")]
|
||||||
pub mod drawing;
|
pub mod drawing;
|
||||||
|
|
||||||
mod interface;
|
mod interface;
|
||||||
|
|||||||
Reference in New Issue
Block a user