diff --git a/keyboard/infinity/Makefile.led b/keyboard/infinity/Makefile.led new file mode 100644 index 00000000..12571b88 --- /dev/null +++ b/keyboard/infinity/Makefile.led @@ -0,0 +1,2 @@ +OPT_DEFS += -DINFINITY_LED +include Makefile diff --git a/keyboard/infinity/Makefile.prototype b/keyboard/infinity/Makefile.prototype new file mode 100644 index 00000000..99853243 --- /dev/null +++ b/keyboard/infinity/Makefile.prototype @@ -0,0 +1,2 @@ +OPT_DEFS += -DINFINITY_PROTOTYPE +include Makefile diff --git a/keyboard/infinity/matrix.c b/keyboard/infinity/matrix.c index 36c95815..60cadc4e 100644 --- a/keyboard/infinity/matrix.c +++ b/keyboard/infinity/matrix.c @@ -39,7 +39,7 @@ void matrix_init(void) gpio_init_in_ex(&col[5], PTD6, PullDown); gpio_init_in_ex(&col[6], PTD7, PullDown); -#ifdef INFINITY_LED +#ifndef INFINITY_LED /* Row(strobe) */ gpio_init_out_ex(&row[0], PTB0, 0); gpio_init_out_ex(&row[1], PTB1, 0);