diff options
| author | Ryan <fauxpark@gmail.com> | 2024-04-06 01:43:52 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-05 15:43:52 +0100 |
| commit | 9fa91ad4947293f75df4c0e85ea594b1529afbca (patch) | |
| tree | 46fc994c899165e7a642cae166950d54d965976c /quantum/led_matrix | |
| parent | a14c03b96e75212d042621f4c68ccbecb7ee9901 (diff) | |
Rename `process_{led,rgb}_matrix()` (#23422)
Diffstat (limited to 'quantum/led_matrix')
| -rw-r--r-- | quantum/led_matrix/led_matrix.c | 2 | ||||
| -rw-r--r-- | quantum/led_matrix/led_matrix.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/quantum/led_matrix/led_matrix.c b/quantum/led_matrix/led_matrix.c index c0fb4c810b..2ca62c6969 100644 --- a/quantum/led_matrix/led_matrix.c +++ b/quantum/led_matrix/led_matrix.c | |||
| @@ -159,7 +159,7 @@ void led_matrix_set_value_all(uint8_t value) { | |||
| 159 | #endif | 159 | #endif |
| 160 | } | 160 | } |
| 161 | 161 | ||
| 162 | void process_led_matrix(uint8_t row, uint8_t col, bool pressed) { | 162 | void led_matrix_handle_key_event(uint8_t row, uint8_t col, bool pressed) { |
| 163 | #ifndef LED_MATRIX_SPLIT | 163 | #ifndef LED_MATRIX_SPLIT |
| 164 | if (!is_keyboard_master()) return; | 164 | if (!is_keyboard_master()) return; |
| 165 | #endif | 165 | #endif |
diff --git a/quantum/led_matrix/led_matrix.h b/quantum/led_matrix/led_matrix.h index 941d42aeca..9a13c3e52b 100644 --- a/quantum/led_matrix/led_matrix.h +++ b/quantum/led_matrix/led_matrix.h | |||
| @@ -124,7 +124,7 @@ uint8_t led_matrix_map_row_column_to_led(uint8_t row, uint8_t column, uint8_t *l | |||
| 124 | void led_matrix_set_value(int index, uint8_t value); | 124 | void led_matrix_set_value(int index, uint8_t value); |
| 125 | void led_matrix_set_value_all(uint8_t value); | 125 | void led_matrix_set_value_all(uint8_t value); |
| 126 | 126 | ||
| 127 | void process_led_matrix(uint8_t row, uint8_t col, bool pressed); | 127 | void led_matrix_handle_key_event(uint8_t row, uint8_t col, bool pressed); |
| 128 | 128 | ||
| 129 | void led_matrix_task(void); | 129 | void led_matrix_task(void); |
| 130 | 130 | ||
