浏览代码

Add Kinetis_i2c settings consistent with whitefox mcuconf

jpetermans 8 年之前
父节点
当前提交
56be300757
共有 1 个文件被更改,包括 7 次插入4 次删除
  1. 7 4
      keyboards/infinity60/mcuconf.h

+ 7 - 4
keyboards/infinity60/mcuconf.h

@@ -47,9 +47,12 @@
  * USB driver settings
  */
 #define KINETIS_USB_USE_USB0                TRUE
-/* Need to redefine this, since the default is for K20x */
-/* This is for Teensy LC; you should comment it out (or change to 5)
- * for Teensy 3.x */
-#define KINETIS_USB_USB0_IRQ_PRIORITY       2
+#define KINETIS_USB_USB0_IRQ_PRIORITY       5
+
+/*
+ * I2C driver settings
+ */
+#define KINETIS_I2C_USE_I2C0                TRUE
+#define KINETIS_I2C_I2C0_PRIORITY           4
 
 #endif /* _MCUCONF_H_ */