Use >= relations instead of == for comparing UHK_PCB_MAJOR_VERSION.

This commit is contained in:
László Monda
2017-01-21 02:20:47 +01:00
parent bcab294256
commit d8761a95ba
5 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@
key_matrix_t keyMatrix = {
.colNum = KEYBOARD_MATRIX_COLS_NUM,
.rowNum = KEYBOARD_MATRIX_ROWS_NUM,
#if UHK_PCB_MAJOR_VERSION == 7
#if UHK_PCB_MAJOR_VERSION >= 7
.cols = (key_matrix_pin_t[]){
{PORTB, GPIOB, kCLOCK_PortB, 11},
{PORTA, GPIOA, kCLOCK_PortA, 6},