Explorar el Código

Add hack for split common support

Drashna Jaelre hace 6 años
padre
commit
d3db15c3a9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      quantum/split_common/transport.c

+ 2 - 0
quantum/split_common/transport.c

@@ -17,6 +17,8 @@
 
 #ifdef ENCODER_ENABLE
 #  include "encoder.h"
+static pin_t encoders_pad[] = ENCODERS_PAD_A;
+#  define NUMBER_OF_ENCODERS (sizeof(encoders_pad)/sizeof(pin_t))
 #endif
 
 #if defined(USE_I2C) || defined(EH)