Clean up coding style a bit.

This commit is contained in:
László Monda
2017-01-05 19:29:08 +01:00
parent ce1b16f406
commit fb79862cee

View File

@@ -16,7 +16,7 @@ key_matrix_t KeyMatrix = {
{PORTB, GPIOB, kCLOCK_PortB, 19}, {PORTB, GPIOB, kCLOCK_PortB, 19},
{PORTA, GPIOA, kCLOCK_PortA, 1}, {PORTA, GPIOA, kCLOCK_PortA, 1},
{PORTB, GPIOB, kCLOCK_PortB, 1} {PORTB, GPIOB, kCLOCK_PortB, 1}
}, },
.rows = (key_matrix_pin_t[]){ .rows = (key_matrix_pin_t[]){
{PORTA, GPIOA, kCLOCK_PortA, 12}, {PORTA, GPIOA, kCLOCK_PortA, 12},
{PORTA, GPIOA, kCLOCK_PortA, 13}, {PORTA, GPIOA, kCLOCK_PortA, 13},
@@ -33,7 +33,7 @@ key_matrix_t KeyMatrix = {
{PORTB, GPIOB, kCLOCK_PortB, 18}, {PORTB, GPIOB, kCLOCK_PortB, 18},
{PORTA, GPIOA, kCLOCK_PortA, 1}, {PORTA, GPIOA, kCLOCK_PortA, 1},
{PORTB, GPIOB, kCLOCK_PortB, 0} {PORTB, GPIOB, kCLOCK_PortB, 0}
}, },
.rows = (key_matrix_pin_t[]){ .rows = (key_matrix_pin_t[]){
{PORTA, GPIOA, kCLOCK_PortA, 12}, {PORTA, GPIOA, kCLOCK_PortA, 12},
{PORTA, GPIOA, kCLOCK_PortA, 13}, {PORTA, GPIOA, kCLOCK_PortA, 13},