Bladeren bron

infinity: Add Makefiles and fix for INFINITY_LED

master
tmk 7 jaren geleden
bovenliggende
commit
0523b4fd8e
3 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  1. 2
    0
      keyboard/infinity/Makefile.led
  2. 2
    0
      keyboard/infinity/Makefile.prototype
  3. 1
    1
      keyboard/infinity/matrix.c

+ 2
- 0
keyboard/infinity/Makefile.led Bestand weergeven

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

+ 2
- 0
keyboard/infinity/Makefile.prototype Bestand weergeven

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

+ 1
- 1
keyboard/infinity/matrix.c Bestand weergeven

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

Laden…
Annuleren
Opslaan