summaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/ssd1306.c
diff options
context:
space:
mode:
authorDamien <Dbroqua@users.noreply.github.com>2017-04-13 13:26:02 +0200
committerGitHub <noreply@github.com>2017-04-13 13:26:02 +0200
commita43cb6c0af3ac616903172c4b8932bfc5ee4939b (patch)
treec3ca94b544ab832507b37b6268bb04f7f7eedb4a /keyboards/lets_split/ssd1306.c
parent3e41cde9f99778ca30c03b97470c32780379db43 (diff)
parentd3301c0f8b0005738ab9aa2030d83739ffb5c4b6 (diff)
Merge pull request #20 from qmk/master
Merge from QMK
Diffstat (limited to 'keyboards/lets_split/ssd1306.c')
-rw-r--r--keyboards/lets_split/ssd1306.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/lets_split/ssd1306.c b/keyboards/lets_split/ssd1306.c
index 3c7816bb32..5c6dff27f8 100644
--- a/keyboards/lets_split/ssd1306.c
+++ b/keyboards/lets_split/ssd1306.c
@@ -1,8 +1,9 @@
+#ifdef SSD1306OLED
+
+#include "ssd1306.h"
#include "config.h"
#include "i2c.h"
-#include <stdbool.h>
#include <string.h>
-#include <stdio.h>
#include "print.h"
#include "lets_split.h"
#include "common/glcdfont.c"
@@ -466,3 +467,4 @@ void iota_gfx_task(void) {
iota_gfx_off();
}
}
+#endif