Skip to content

Commit

Permalink
Fix Dynamic Macro Compilation for avr-gcc 5.4.0 + Linux (qmk#21653)
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Challis <[email protected]>
  • Loading branch information
2 people authored and thismarvin committed Sep 27, 2023
1 parent 6af5acc commit 3170d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/process_keycode/process_dynamic_macro.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static keyrecord_t *macro_end = macro_buffer;
static keyrecord_t *const r_macro_buffer = macro_buffer + DYNAMIC_MACRO_SIZE - 1;

/* Like macro_end but for the second macro. */
static keyrecord_t *r_macro_end = r_macro_buffer;
static keyrecord_t *r_macro_end = macro_buffer + DYNAMIC_MACRO_SIZE - 1;

/* A persistent pointer to the current macro position (iterator)
* used during the recording. */
Expand Down

0 comments on commit 3170d94

Please sign in to comment.