Featuregate the graphics modules
This commit makes it possible to compile without the included graphics featuresembedded-hal-1.0
parent
e0cf10bf4e
commit
2cc4bceac3
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue