Skip to content

Commit

Permalink
dynamic_macro_end_user seems to require returning bool after 2024q3
Browse files Browse the repository at this point in the history
  • Loading branch information
plodah committed Aug 25, 2024
1 parent 1e25bbc commit 1780617
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions users/plodah/plodah.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1780617

Please sign in to comment.