Skip to content

Commit

Permalink
fix: dynamic macro compilation crash voyager/planck
Browse files Browse the repository at this point in the history
  • Loading branch information
fdidron committed Nov 9, 2023
1 parent 9f536ff commit 474d465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/planck/ez/ez.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ static bool is_on = false;
static bool is_dynamic_recording = false;
static uint16_t dynamic_loop_timer;

void dynamic_macro_record_start_user(void) {
void dynamic_macro_record_start_user(int8_t direction) {
is_dynamic_recording = true;
dynamic_loop_timer = timer_read();
planck_ez_left_led_on();
Expand Down
2 changes: 1 addition & 1 deletion keyboards/voyager/voyager.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ bool is_launching = false;
#ifdef DYNAMIC_MACRO_ENABLE
static bool is_dynamic_recording = false;

void dynamic_macro_record_start_user(void) {
void dynamic_macro_record_start_user(int8_t direction) {
is_dynamic_recording = true;
}

Expand Down

0 comments on commit 474d465

Please sign in to comment.