浏览代码

Update ssd1306.c

ishtob 8 年之前
父节点
当前提交
4e51c1e3ca
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      keyboards/lets_split/ssd1306.c

+ 2 - 0
keyboards/lets_split/ssd1306.c

@@ -1,3 +1,4 @@
+#ifdef SSD1306OLED
 #include "config.h"
 #include "config.h"
 #include "i2c.h"
 #include "i2c.h"
 #include <stdbool.h>
 #include <stdbool.h>
@@ -466,3 +467,4 @@ void iota_gfx_task(void) {
     iota_gfx_off();
     iota_gfx_off();
   }
   }
 }
 }
+#endif