summaryrefslogtreecommitdiffstats
path: root/app/i2c.c
diff options
context:
space:
mode:
authorroot <root@new-selene.erebei.org>2015-12-01 02:10:53 +0000
committerroot <root@new-selene.erebei.org>2015-12-01 02:10:53 +0000
commitb55240eb43a92c552003b8b324a385e041f84f12 (patch)
treeab932136ecfaa42e1e417e0253aebcc5b5f178aa /app/i2c.c
parent061430973e82995368d27ff9081391f9475da3c7 (diff)
downloadcandlestick-b55240eb43a92c552003b8b324a385e041f84f12.tar.gz
candlestick-b55240eb43a92c552003b8b324a385e041f84f12.tar.bz2
candlestick-b55240eb43a92c552003b8b324a385e041f84f12.zip
fish
Diffstat (limited to 'app/i2c.c')
-rw-r--r--app/i2c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/i2c.c b/app/i2c.c
index 89249d0..5e00f3d 100644
--- a/app/i2c.c
+++ b/app/i2c.c
@@ -1,6 +1,8 @@
#include "project.h"
+#ifndef SLIM
+
#define GPIO_SCL GPIOB
#define GPIO_SDA GPIOB
#define SCL GPIO13
@@ -130,3 +132,4 @@ i2c_bb_init (void)
}
+#endif