Use the UHK_PCB_MAJOR_VERSION macro instead of PROTOTYPE_VERSION_7

This commit is contained in:
László Monda
2017-01-02 14:35:30 +01:00
parent 30f9373e47
commit e543068df1
2 changed files with 2 additions and 2 deletions

View File

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