diff options
Diffstat (limited to 'keyboards/ergodox_stm32')
-rw-r--r-- | keyboards/ergodox_stm32/board.h | 2 | ||||
-rw-r--r-- | keyboards/ergodox_stm32/config.h | 1 | ||||
-rw-r--r-- | keyboards/ergodox_stm32/matrix.c | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/ergodox_stm32/board.h b/keyboards/ergodox_stm32/board.h index 23f9495789..c1c37c0659 100644 --- a/keyboards/ergodox_stm32/board.h +++ b/keyboards/ergodox_stm32/board.h @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#pragma once + #include_next <board.h> #ifdef STM32_LSECLK diff --git a/keyboards/ergodox_stm32/config.h b/keyboards/ergodox_stm32/config.h index 46514eaeb7..f4f81e30bd 100644 --- a/keyboards/ergodox_stm32/config.h +++ b/keyboards/ergodox_stm32/config.h @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once -#include "config_common.h" #define MATRIX_ROWS 14 #define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2) diff --git a/keyboards/ergodox_stm32/matrix.c b/keyboards/ergodox_stm32/matrix.c index 094d4a9e0f..2046e39c1f 100644 --- a/keyboards/ergodox_stm32/matrix.c +++ b/keyboards/ergodox_stm32/matrix.c @@ -56,7 +56,7 @@ void matrix_init(void) { debounce_matrix[i * MATRIX_COLS + j] = 0; } } - matrix_init_quantum(); + matrix_init_kb(); } void matrix_power_up(void) { @@ -115,7 +115,7 @@ uint8_t matrix_scan(void) { unselect_rows(); } - matrix_scan_quantum(); + matrix_scan_kb(); return 0; } |