Featuregate the graphics modules

This commit makes it possible to compile without the included graphics features
This commit is contained in:
Christoph Groß
2018-09-19 11:46:51 +02:00
parent e0cf10bf4e
commit 2cc4bceac3
+1
View File
@@ -47,6 +47,7 @@ extern crate embedded_hal as hal;
use hal::spi::{Mode, Phase, Polarity};
#[cfg(feature = "graphics")]
pub mod drawing;
mod interface;