From 1780617a384fb7c1d9ffcc193f0e2a41c84af9d4 Mon Sep 17 00:00:00 2001 From: plodah Date: Sun, 25 Aug 2024 19:27:16 +0100 Subject: [PATCH] dynamic_macro_end_user seems to require returning bool after 2024q3 --- users/plodah/plodah.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/users/plodah/plodah.c b/users/plodah/plodah.c index dcfec853340..21506c8e323 100644 --- a/users/plodah/plodah.c +++ b/users/plodah/plodah.c @@ -161,17 +161,19 @@ void matrix_scan_user(void) { // DYNAMIC MACROS // //==========================// #if defined(DYNAMIC_MACRO_ENABLE) - void dynamic_macro_record_start_user(int8_t direction) { + bool dynamic_macro_record_start_user(int8_t direction) { #if defined (RGB_MATRIX_ENABLE) && defined (PLODAH_DMAC_INDIC_INDEX) is_dynamic_macro_recording = true; #endif # if defined(PLODAH_DYNAMIC_MACRO_TIMEOUT) - dynamic_macro_loop_timer = timer_read(); + dynamic_macro_loop_timer = timer_read(); # endif // PLODAH_DYNAMIC_MACRO_TIMEOUT + return true; } - void dynamic_macro_record_end_user(int8_t direction) { + bool dynamic_macro_record_end_user(int8_t direction) { #if defined (RGB_MATRIX_ENABLE) && defined (PLODAH_DMAC_INDIC_INDEX) is_dynamic_macro_recording = false; #endif + return true; } #endif // DYNAMIC_MACRO_ENABLE