diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-09-05 15:35:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-05 23:35:42 +0100 |
| commit | 1e1be4c229651703ef7c62784b704a859a3d13cf (patch) | |
| tree | 5e4208e6fc1d64278b75bfb29b9015a270501a6e /keyboards/bpiphany | |
| parent | 8d6d8cfadfd1522b3dd2cc8ac1ce7393b45bbe64 (diff) | |
| download | qmk_firmware-1e1be4c229651703ef7c62784b704a859a3d13cf.tar.gz qmk_firmware-1e1be4c229651703ef7c62784b704a859a3d13cf.zip | |
[Bug] Fix compile issues for boards with custom matrix (#14323)
Diffstat (limited to 'keyboards/bpiphany')
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/2015/matrix.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/bpiphany/pegasushoof/2015/matrix.c b/keyboards/bpiphany/pegasushoof/2015/matrix.c index 42c5da3bc..b05869fed 100644 --- a/keyboards/bpiphany/pegasushoof/2015/matrix.c +++ b/keyboards/bpiphany/pegasushoof/2015/matrix.c | |||
| @@ -33,6 +33,18 @@ static matrix_row_t matrix_debouncing[MATRIX_ROWS]; | |||
| 33 | static matrix_row_t read_cols(void); | 33 | static matrix_row_t read_cols(void); |
| 34 | static void select_row(uint8_t col); | 34 | static void select_row(uint8_t col); |
| 35 | 35 | ||
| 36 | // user-defined overridable functions | ||
| 37 | |||
| 38 | __attribute__((weak)) void matrix_init_kb(void) { matrix_init_user(); } | ||
| 39 | |||
| 40 | __attribute__((weak)) void matrix_scan_kb(void) { matrix_scan_user(); } | ||
| 41 | |||
| 42 | __attribute__((weak)) void matrix_init_user(void) {} | ||
| 43 | |||
| 44 | __attribute__((weak)) void matrix_scan_user(void) {} | ||
| 45 | |||
| 46 | // helper functions | ||
| 47 | |||
| 36 | inline uint8_t matrix_rows(void) | 48 | inline uint8_t matrix_rows(void) |
| 37 | { | 49 | { |
| 38 | return MATRIX_ROWS; | 50 | return MATRIX_ROWS; |
