summaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/ssd1306.c
diff options
context:
space:
mode:
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