1
0

infinity: Add Makefiles and fix for INFINITY_LED

This commit is contained in:
tmk 2016-09-24 11:30:57 +09:00
parent d356afb930
commit 0523b4fd8e
3 changed files with 5 additions and 1 deletions

View File

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

View File

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

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