Explorar o código

Merge pull request #1203 from ishtob/master

Updated ssd1306.c fix issues for people not using OLED
Jack Humbert %!s(int64=8) %!d(string=hai) anos
pai
achega
53951ee086
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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 "config.h"
 #include "i2c.h"
@@ -465,3 +467,4 @@ void iota_gfx_task(void) {
     iota_gfx_off();
   }
 }
+#endif