From 23706e8136869094b00b386cb8e0ade58c66ef43 Mon Sep 17 00:00:00 2001 From: Florian Didron Date: Mon, 7 Jul 2025 16:10:38 +0700 Subject: [PATCH] h/f: ergodox dynamic macro user hooks wrong signature --- keyboards/zsa/ergodox_ez/ergodox_ez.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/keyboards/zsa/ergodox_ez/ergodox_ez.c b/keyboards/zsa/ergodox_ez/ergodox_ez.c index 830a028aea..dd71656af1 100644 --- a/keyboards/zsa/ergodox_ez/ergodox_ez.c +++ b/keyboards/zsa/ergodox_ez/ergodox_ez.c @@ -312,15 +312,19 @@ void eeconfig_init_kb(void) { // EEPROM is getting reset! static bool is_dynamic_recording = false; static uint16_t dynamic_loop_timer; -void dynamic_macro_record_start_user(int8_t direction) { +bool dynamic_macro_record_start_user(int8_t direction) { is_dynamic_recording = true; dynamic_loop_timer = timer_read(); ergodox_right_led_1_on(); + + return true; } -void dynamic_macro_record_end_user(int8_t direction) { +bool dynamic_macro_record_end_user(int8_t direction) { is_dynamic_recording = false; layer_state_set_user(layer_state); + + return true; } #endif