Browse Source

infinity: Add Makefiles and fix for INFINITY_LED

master
tmk 5 years ago
parent
commit
0523b4fd8e

+ 2
- 0
keyboard/infinity/Makefile.led View File

@@ -0,0 +1,2 @@
OPT_DEFS += -DINFINITY_LED
include Makefile

+ 2
- 0
keyboard/infinity/Makefile.prototype View File

@@ -0,0 +1,2 @@
OPT_DEFS += -DINFINITY_PROTOTYPE
include Makefile

+ 1
- 1
keyboard/infinity/matrix.c View File

@@ -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);

Loading…
Cancel
Save