Formatting
This commit is contained in:
parent
03101b1624
commit
54b94fd016
19 changed files with 43 additions and 36 deletions
|
|
@ -9,4 +9,4 @@
|
|||
|
||||
#define HLC_ENCODER_BUTTON GP16
|
||||
#define HLC_ENCODER_A GP27
|
||||
#define HLC_ENCODER_B GP26
|
||||
#define HLC_ENCODER_B GP26
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ void matrix_read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row)
|
|||
// Populate the matrix row with the state of the col pin
|
||||
current_row_value |= pin_state ? 0 : row_shifter;
|
||||
}
|
||||
}
|
||||
}
|
||||
// ↑↑↑ THIS HAS BEEN ADDED/CHANGED
|
||||
|
||||
// Unselect row
|
||||
|
|
@ -133,4 +133,4 @@ void matrix_read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row)
|
|||
|
||||
// Update the matrix
|
||||
current_matrix[current_row] = current_row_value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
CURRENT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
SRC += $(CURRENT_DIR)/hlc_encoder.c
|
||||
CONFIG_H += $(CURRENT_DIR)/config.h
|
||||
CONFIG_H += $(CURRENT_DIR)/config.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue