Featuregate the graphics modules

This commit makes it possible to compile without the included graphics features
embedded-hal-1.0
Christoph Groß 2018-09-19 11:46:51 +02:00
parent e0cf10bf4e
commit 2cc4bceac3
1 changed files with 1 additions and 0 deletions

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;