Browse Source

Merge pull request #1203 from ishtob/master

Updated ssd1306.c fix issues for people not using OLED
Jack Humbert 8 năm trước cách đây
mục cha
commit
53951ee086
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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