infinity: Add Makefiles and fix for INFINITY_LED
This commit is contained in:
parent
d356afb930
commit
0523b4fd8e
2
keyboard/infinity/Makefile.led
Normal file
2
keyboard/infinity/Makefile.led
Normal file
@ -0,0 +1,2 @@
|
||||
OPT_DEFS += -DINFINITY_LED
|
||||
include Makefile
|
2
keyboard/infinity/Makefile.prototype
Normal file
2
keyboard/infinity/Makefile.prototype
Normal file
@ -0,0 +1,2 @@
|
||||
OPT_DEFS += -DINFINITY_PROTOTYPE
|
||||
include Makefile
|
@ -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…
Reference in New Issue
Block a user