Browse Source

Featuregate the graphics modules

This commit makes it possible to compile without the included graphics features
embedded-hal-1.0
Christoph Groß 7 years ago
parent
commit
2cc4bceac3
  1. 1
      src/lib.rs

1
src/lib.rs

@ -47,6 +47,7 @@ extern crate embedded_hal as hal;
use hal::spi::{Mode, Phase, Polarity};
#[cfg(feature = "graphics")]
pub mod drawing;
mod interface;

Loading…
Cancel
Save