From 2cc4bceac3265fad16dd14352e8830f6b445853c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gro=C3=9F?= Date: Wed, 19 Sep 2018 11:46:51 +0200 Subject: [PATCH] Featuregate the graphics modules This commit makes it possible to compile without the included graphics features --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 7ac964b..42ceaf3 100644 --- a/src/lib.rs +++ b/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;