mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
Fix Dynamic Macro Compilation for avr-gcc 5.4.0 + Linux (#21653)
Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
parent
242b8c7f3d
commit
eab315e935
|
@ -196,7 +196,7 @@ static keyrecord_t *macro_end = macro_buffer;
|
||||||
static keyrecord_t *const r_macro_buffer = macro_buffer + DYNAMIC_MACRO_SIZE - 1;
|
static keyrecord_t *const r_macro_buffer = macro_buffer + DYNAMIC_MACRO_SIZE - 1;
|
||||||
|
|
||||||
/* Like macro_end but for the second macro. */
|
/* 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)
|
/* A persistent pointer to the current macro position (iterator)
|
||||||
* used during the recording. */
|
* used during the recording. */
|
||||||
|
|
Loading…
Reference in a new issue