diff options
| author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2023-08-01 22:49:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-01 22:49:58 -0700 |
| commit | eab315e935dced643c4cae9c9697ebe520627f36 (patch) | |
| tree | 5542487d134bd68e98944f26af56019f9928f968 /quantum/process_keycode/process_dynamic_macro.c | |
| parent | 242b8c7f3dbf188878db0916640765516e2c123f (diff) | |
Fix Dynamic Macro Compilation for avr-gcc 5.4.0 + Linux (#21653)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'quantum/process_keycode/process_dynamic_macro.c')
| -rw-r--r-- | quantum/process_keycode/process_dynamic_macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_dynamic_macro.c b/quantum/process_keycode/process_dynamic_macro.c index 5e4a6fa308..30a51503db 100644 --- a/quantum/process_keycode/process_dynamic_macro.c +++ b/quantum/process_keycode/process_dynamic_macro.c | |||
| @@ -196,7 +196,7 @@ static keyrecord_t *macro_end = macro_buffer; | |||
| 196 | static keyrecord_t *const r_macro_buffer = macro_buffer + DYNAMIC_MACRO_SIZE - 1; | 196 | static keyrecord_t *const r_macro_buffer = macro_buffer + DYNAMIC_MACRO_SIZE - 1; |
| 197 | 197 | ||
| 198 | /* Like macro_end but for the second macro. */ | 198 | /* Like macro_end but for the second macro. */ |
| 199 | static keyrecord_t *r_macro_end = r_macro_buffer; | 199 | static keyrecord_t *r_macro_end = macro_buffer + DYNAMIC_MACRO_SIZE - 1; |
| 200 | 200 | ||
| 201 | /* A persistent pointer to the current macro position (iterator) | 201 | /* A persistent pointer to the current macro position (iterator) |
| 202 | * used during the recording. */ | 202 | * used during the recording. */ |
