Browse Source

Merge pull request #1203 from ishtob/master

Updated ssd1306.c fix issues for people not using OLED
Jack Humbert 8 years ago
parent
commit
53951ee086
1 changed files with 3 additions and 0 deletions
  1. 3 0
      keyboards/lets_split/ssd1306.c

+ 3 - 0
keyboards/lets_split/ssd1306.c

@@ -1,3 +1,5 @@
+#ifdef SSD1306OLED
+
 #include "ssd1306.h"
 #include "ssd1306.h"
 #include "config.h"
 #include "config.h"
 #include "i2c.h"
 #include "i2c.h"
@@ -465,3 +467,4 @@ void iota_gfx_task(void) {
     iota_gfx_off();
     iota_gfx_off();
   }
   }
 }
 }
+#endif