Explorar o código

Add Kinetis_i2c settings consistent with whitefox mcuconf

jpetermans %!s(int64=8) %!d(string=hai) anos
pai
achega
56be300757
Modificáronse 1 ficheiros con 7 adicións e 4 borrados
  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_ */